diff options
author | frosch <frosch@openttd.org> | 2010-01-17 01:01:56 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-01-17 01:01:56 +0000 |
commit | d9d75c83d5b0839d335db453b4482fcaf306bac7 (patch) | |
tree | ad207b20db255982fe6d12d77b480c3d918ad5be /src/station_cmd.cpp | |
parent | 707cf045f8703700887757ecfa4e309b61e2fd4f (diff) | |
download | openttd-d9d75c83d5b0839d335db453b4482fcaf306bac7.tar.xz |
(svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
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 41c21751e..3285482b4 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2427,7 +2427,7 @@ static void DrawTile_Station(TileInfo *ti) } else { SpriteID image = t->ground.sprite; SpriteID pal = t->ground.pal; - if (HasBit(image, SPRITE_MODIFIER_USE_OFFSET)) { + if (HasBit(image, SPRITE_MODIFIER_CUSTOM_SPRITE)) { image += GetCustomStationGroundRelocation(statspec, st, ti->tile); image += custom_ground_offset; } else { |