(svn r22557) -Codechange: Remove constness from AnimationBase callbacks.

This commit is contained in:
terkhen
2011-06-12 20:32:52 +00:00
parent d7ec492887
commit e127fca384
10 changed files with 18 additions and 18 deletions

View File

@@ -526,7 +526,7 @@ static void TileLoop_Object(TileIndex tile)
{
const ObjectSpec *spec = ObjectSpec::GetByTile(tile);
if (spec->flags & OBJECT_FLAG_ANIMATION) {
const Object *o = Object::GetByTile(tile);
Object *o = Object::GetByTile(tile);
TriggerObjectTileAnimation(o, tile, OAT_TILELOOP, spec);
if (o->location.tile == tile) TriggerObjectAnimation(o, OAT_256_TICKS, spec);
}