diff options
Diffstat (limited to 'src/object_cmd.cpp')
-rw-r--r-- | src/object_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object_cmd.cpp b/src/object_cmd.cpp index 2f8dcda03..4425d1118 100644 --- a/src/object_cmd.cpp +++ b/src/object_cmd.cpp @@ -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); } |