summaryrefslogtreecommitdiff
path: root/newgrf_station.c
diff options
context:
space:
mode:
authorKUDr <KUDr@openttd.org>2006-05-05 19:30:09 +0000
committerKUDr <KUDr@openttd.org>2006-05-05 19:30:09 +0000
commit607f88410e7e57893579d0bef6e647c05d355512 (patch)
tree74a3bebc9fba22e52956c89f3d43ad76fdf1da7c /newgrf_station.c
parentcf30c682a80a193f8f0d65276b28bdf089682427 (diff)
downloadopenttd-607f88410e7e57893579d0bef6e647c05d355512.tar.xz
(svn r4746) - Fix: VC shows warning in newgrf_station.c:211 and complains about missing sprite.c
Diffstat (limited to 'newgrf_station.c')
-rw-r--r--newgrf_station.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_station.c b/newgrf_station.c
index c65034631..fcbce7f1d 100644
--- a/newgrf_station.c
+++ b/newgrf_station.c
@@ -208,7 +208,7 @@ static uint32 StationGetVariable(const ResolverObject *object, byte variable, by
switch (variable) {
/* Calculated station variables */
- case 0x42: GetRailType(object->u.station.tile) << 8; /* Rail type */
+ case 0x42: return GetRailType(object->u.station.tile) << 8; /* Rail type */
case 0x43: return st->owner; /* Station owner */
case 0x44: return 2; /* PBS status */
case 0x48: { /* Accepted cargo types */