summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-08-21 14:59:05 +0000
committerfrosch <frosch@openttd.org>2011-08-21 14:59:05 +0000
commitcb93a7a824174f4bfbc602979eab62709c9e5f81 (patch)
treee3a3d7f6ae787e2d180d2faf9cc26425e46df8b4
parent45b95ed62950678b677c555cec558b009e0b8d3e (diff)
downloadopenttd-cb93a7a824174f4bfbc602979eab62709c9e5f81.tar.xz
(svn r22802) -Fix (r22781): Coding style.
-rw-r--r--src/newgrf.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index da9cd15c9..94d57e7c5 100644
--- 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;
+ this->nfo_line = 0;
+ this->skip_sprites = 0;
+ this->data_blocks = 0;
- spriteset_start = 0;
- spriteset_numsets = 0;
- spriteset_numents = 0;
- spriteset_feature = GSF_INVALID;
+ this->spriteset_start = 0;
+ this->spriteset_numsets = 0;
+ this->spriteset_numents = 0;
+ this->spriteset_feature = GSF_INVALID;
- memset(spritegroups, 0, sizeof(spritegroups));
+ memset(this->spritegroups, 0, sizeof(this->spritegroups));
}
};