(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame

This commit is contained in:
rubidium
2010-08-26 14:45:45 +00:00
parent 1d8b95b235
commit 5a7d6249af
14 changed files with 83 additions and 154 deletions

View File

@@ -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;
}