summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-08-24 00:04:51 +0000
committerbelugas <belugas@openttd.org>2007-08-24 00:04:51 +0000
commite9435c11b08664818f03aa747df373e7f8ff9cc4 (patch)
treebf1addbb54a9518250a9f8553287849ef567720a /src
parent64da09f45252bc9aa0c0fccd066b0cbd036444bf (diff)
downloadopenttd-e9435c11b08664818f03aa747df373e7f8ff9cc4.tar.xz
(svn r10971) -Codechange: One less magical number
Diffstat (limited to 'src')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
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;