diff options
author | tron <tron@openttd.org> | 2005-11-15 08:49:46 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-15 08:49:46 +0000 |
commit | 1b0091e0d29a59811522758c00b690f4f07b471b (patch) | |
tree | 5408c5fefb49e90fec95ad27d0438500262d43c0 /station_cmd.c | |
parent | 86585602294b7273d5cd0df34a3f6794258a62bb (diff) | |
download | openttd-1b0091e0d29a59811522758c00b690f4f07b471b.tar.xz |
(svn r3184) GB/SB
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/station_cmd.c b/station_cmd.c index e037e5081..2c98db257 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -3016,8 +3016,8 @@ static void Load_STNS(void) // this means it's an oldstyle savegame without support for nonuniform stations if (st->train_tile != 0 && st->trainst_h == 0) { - int w = st->trainst_w >> 4; - int h = st->trainst_w & 0xF; + int w = GB(st->trainst_w, 4, 4); + int h = GB(st->trainst_w, 0, 4); if (_m[st->train_tile].m5 & 1) intswap(w, h); st->trainst_w = w; |