summaryrefslogtreecommitdiff
path: root/unmovable_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-15 11:06:54 +0000
committertron <tron@openttd.org>2005-10-15 11:06:54 +0000
commit53a4a6a0f4f2575768b094018d58c63b40a32dad (patch)
treeb29021fa7ba6b899a521aa0856f9ea9ba5047dbe /unmovable_cmd.c
parent668963a3591759e82bd247d49164b1c8754fd785 (diff)
downloadopenttd-53a4a6a0f4f2575768b094018d58c63b40a32dad.tar.xz
(svn r3046) Replace some numbers with sprite names and fix a typo in the sprite list
Diffstat (limited to 'unmovable_cmd.c')
-rw-r--r--unmovable_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unmovable_cmd.c b/unmovable_cmd.c
index e78d07baa..505abd72c 100644
--- a/unmovable_cmd.c
+++ b/unmovable_cmd.c
@@ -117,10 +117,10 @@ static void DrawTile_Unmovable(TileInfo *ti)
if (ti->map5 == 2) {
// statue
- DrawGroundSprite(0x58C);
+ DrawGroundSprite(SPR_STATUE_GROUND);
image = PLAYER_SPRITE_COLOR(GetTileOwner(ti->tile));
- image += 0x8A48;
+ image += PALETTE_MODIFIER_COLOR | SPR_STATUE_COMPANY;
if (_display_opt & DO_TRANS_BUILDINGS)
MAKE_TRANSPARENT(image);
AddSortableSpriteToDraw(image, ti->x, ti->y, 16, 16, 25, ti->z);
@@ -130,7 +130,7 @@ static void DrawTile_Unmovable(TileInfo *ti)
DrawClearLandTile(ti, 0);
AddSortableSpriteToDraw(
- PLAYER_SPRITE_COLOR(GetTileOwner(ti->tile)) + 0x92B6,
+ PLAYER_SPRITE_COLOR(GetTileOwner(ti->tile)) + PALETTE_MODIFIER_COLOR + SPR_BOUGHT_LAND,
ti->x+8, ti->y+8,
1, 1,
10,