summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-12-03 07:43:00 +0000
committertron <tron@openttd.org>2004-12-03 07:43:00 +0000
commitc00258237e0fd63d23fb2015c78c070b72b2e9d9 (patch)
treee39a57439be0a2878fec3147140ca4e16f6b00e6 /newgrf.c
parentb7f0b278fbff5721557c2f7d06f0f1892ed7bd39 (diff)
downloadopenttd-c00258237e0fd63d23fb2015c78c070b72b2e9d9.tar.xz
(svn r907) Sprinkle holy ANSI water:
- "inline" must before the return type (and after "static") - Initialise all struct members, not just some of them - Remove (one) spurious semicolon
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newgrf.c b/newgrf.c
index 841a4e73b..ac3c2eee4 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -728,7 +728,7 @@ static bool StationChangeInfo(uint stid, int numinfo, int prop, byte **bufp, int
dts->ground_sprite = grf_load_dword(&buf);
if (!dts->ground_sprite) {
- static const DrawTileSeqStruct empty = {0x80};
+ static const DrawTileSeqStruct empty = {0x80, 0, 0, 0, 0, 0, 0};
dts->seq = &empty;
continue;
}
@@ -771,7 +771,7 @@ static bool StationChangeInfo(uint stid, int numinfo, int prop, byte **bufp, int
dts->ground_sprite = sdts->ground_sprite;
if (!dts->ground_sprite) {
- static const DrawTileSeqStruct empty = {0x80};
+ static const DrawTileSeqStruct empty = {0x80, 0, 0, 0, 0, 0, 0};
dts->seq = &empty;
continue;
}