diff options
author | terkhen <terkhen@openttd.org> | 2011-06-12 20:32:52 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-06-12 20:32:52 +0000 |
commit | e127fca384892a22a393fe68c88d9291c5c1d18c (patch) | |
tree | 171a95ea61a2f3462caa4d124139dcdd59a3114d /src/object_cmd.cpp | |
parent | d7ec492887674362c6a054b28faf26707932df64 (diff) | |
download | openttd-e127fca384892a22a393fe68c88d9291c5c1d18c.tar.xz |
(svn r22557) -Codechange: Remove constness from AnimationBase callbacks.
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); } |