From d9d75c83d5b0839d335db453b4482fcaf306bac7 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 17 Jan 2010 01:01:56 +0000 Subject: (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(). --- src/newgrf_station.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_station.cpp') diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp index 992d5d8aa..94adbe869 100644 --- a/src/newgrf_station.cpp +++ b/src/newgrf_station.cpp @@ -900,7 +900,7 @@ bool DrawStationTile(int x, int y, RailType railtype, Axis axis, StationClassID SpriteID image = sprites->ground.sprite; SpriteID pal = sprites->ground.pal; - if (HasBit(image, SPRITE_MODIFIER_USE_OFFSET)) { + if (HasBit(image, SPRITE_MODIFIER_CUSTOM_SPRITE)) { image += GetCustomStationGroundRelocation(statspec, NULL, INVALID_TILE); image += rti->custom_ground_offset; } else { -- cgit v1.2.3-54-g00ecf