From 604924542c5c2e42562f28ae1e5b66d6dde8394d Mon Sep 17 00:00:00 2001 From: belugas Date: Fri, 24 Aug 2007 00:04:51 +0000 Subject: (svn r10971) -Codechange: One less magical number --- src/vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 4ba949f39..6cb690226 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -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; -- cgit v1.2.3-70-g09d2