diff options
author | frosch <frosch@openttd.org> | 2011-09-11 15:10:09 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-09-11 15:10:09 +0000 |
commit | 7f228d6909f3132b9f50c403de0100d635392305 (patch) | |
tree | 7fce3f562daee3147d6299dbc6ebdaea3858373a /src/station_cmd.cpp | |
parent | de27360549ec0afcc5090369cf05cfeafeda5868 (diff) | |
download | openttd-7f228d6909f3132b9f50c403de0100d635392305.tar.xz |
(svn r22924) -Codechange: Enhance NewGRFSpriteLayout for drawing construction stages in spritelayouts with inconsistent number of sprites per spriteset.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 3495f111d..452dbe9da 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2687,7 +2687,7 @@ draw_default_foundation: if (layout != NULL) { /* Sprite layout which needs preprocessing */ bool separate_ground = HasBit(statspec->flags, SSF_SEPARATE_GROUND); - uint32 var10_values = layout->PrepareLayout(total_offset, rti->fallback_railtype, 0, separate_ground); + uint32 var10_values = layout->PrepareLayout(total_offset, rti->fallback_railtype, 0, 0, separate_ground); uint8 var10; FOR_EACH_SET_BIT(var10, var10_values) { uint32 var10_relocation = GetCustomStationRelocation(statspec, st, ti->tile, var10); |