summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-26 14:45:45 +0000
committerrubidium <rubidium@openttd.org>2010-08-26 14:45:45 +0000
commit4efa2efdbba6f08b2ee4ca3aacb2aeb792429af4 (patch)
tree60ad5b19a5b1e1131aee081bdeea8f4d6a83af1e /src/newgrf_industries.cpp
parent7f86dcca90b20241a210dd5f088e249a902f725c (diff)
downloadopenttd-4efa2efdbba6f08b2ee4ca3aacb2aeb792429af4.tar.xz
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
Diffstat (limited to 'src/newgrf_industries.cpp')
-rw-r--r--src/newgrf_industries.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp
index 732d865eb..dfdf1019a 100644
--- a/src/newgrf_industries.cpp
+++ b/src/newgrf_industries.cpp
@@ -251,7 +251,7 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte par
case 0x63:
tile = GetNearbyTile(parameter, tile);
if (IsTileType(tile, MP_INDUSTRY) && Industry::GetByTile(tile) == industry) {
- return GetIndustryAnimationState(tile);
+ return GetAnimationFrame(tile);
}
return 0xFFFFFFFF;