diff options
author | tron <tron@openttd.org> | 2005-10-15 11:06:54 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-15 11:06:54 +0000 |
commit | d5042d4ab2739150a311f032a7df63b45ef65928 (patch) | |
tree | b29021fa7ba6b899a521aa0856f9ea9ba5047dbe /unmovable_cmd.c | |
parent | ab41ccb23c92b30fdbdfe793e31ccc4bd5df6661 (diff) | |
download | openttd-d5042d4ab2739150a311f032a7df63b45ef65928.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.c | 6 |
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, |