summaryrefslogtreecommitdiff
path: root/src/saveload
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/saveload
parent7f86dcca90b20241a210dd5f088e249a902f725c (diff)
downloadopenttd-4efa2efdbba6f08b2ee4ca3aacb2aeb792429af4.tar.xz
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 23b7aebfd..95b86f4d6 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -2176,7 +2176,7 @@ bool AfterLoadGame()
break;
}
if (old_gfx < atc[i].old_start + atc[i].num_frames) {
- SetStationAnimationFrame(t, old_gfx - atc[i].old_start);
+ SetAnimationFrame(t, old_gfx - atc[i].old_start);
SetStationGfx(t, atc[i].old_start - offset);
break;
}