# HG changeset patch # User frosch # Date 2011-08-21 14:59:05 # Node ID d528d674a0638fc5135208119f2a58d44dd02feb # Parent 320ae85f0acc9f3c4444d275fb79a9156355498c (svn r22802) -Fix (r22781): Coding style. diff --git a/src/newgrf.cpp b/src/newgrf.cpp --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -109,16 +109,16 @@ struct GrfProcessingState { /** Clear temporary data before processing the next file in the current loading stage */ void ClearDataForNextFile() { - nfo_line = 0; - skip_sprites = 0; - data_blocks = 0; - - spriteset_start = 0; - spriteset_numsets = 0; - spriteset_numents = 0; - spriteset_feature = GSF_INVALID; - - memset(spritegroups, 0, sizeof(spritegroups)); + this->nfo_line = 0; + this->skip_sprites = 0; + this->data_blocks = 0; + + this->spriteset_start = 0; + this->spriteset_numsets = 0; + this->spriteset_numents = 0; + this->spriteset_feature = GSF_INVALID; + + memset(this->spritegroups, 0, sizeof(this->spritegroups)); } };