mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-03 04:43:12 +00:00
(svn r10971) -Codechange: One less magical number
This commit is contained in:
parent
a079834cfc
commit
604924542c
@ -1334,7 +1334,7 @@ static void BubbleTick(Vehicle *v)
|
||||
SndPlayVehicleFx(SND_31_EXTRACT, v);
|
||||
|
||||
tile = TileVirtXY(v->x_pos, v->y_pos);
|
||||
if (IsTileType(tile, MP_INDUSTRY) && GetIndustryGfx(tile) == 0xA2) AddAnimatedTile(tile);
|
||||
if (IsTileType(tile, MP_INDUSTRY) && GetIndustryGfx(tile) == GFX_BUBBLE_CATCHER) AddAnimatedTile(tile);
|
||||
}
|
||||
|
||||
v->engine_type = et;
|
||||
|
Loading…
Reference in New Issue
Block a user