diff options
Diffstat (limited to 'src/newgrf_object.cpp')
-rw-r--r-- | src/newgrf_object.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf_object.cpp b/src/newgrf_object.cpp index 967017039..a541c77ce 100644 --- a/src/newgrf_object.cpp +++ b/src/newgrf_object.cpp @@ -504,7 +504,7 @@ void DrawNewObjectTileInGUI(int x, int y, const ObjectSpec *spec, uint8 view) * @param tile The tile the callback is called for. * @return The result of the callback. */ -uint16 StubGetObjectCallback(CallbackID callback, uint32 param1, uint32 param2, const ObjectSpec *spec, const Object *o, TileIndex tile) +uint16 StubGetObjectCallback(CallbackID callback, uint32 param1, uint32 param2, const ObjectSpec *spec, Object *o, TileIndex tile) { return GetObjectCallback(callback, param1, param2, spec, o, tile); } @@ -537,7 +537,7 @@ void AnimateNewObjectTile(TileIndex tile) * @param trigger The trigger that is triggered. * @param spec The spec associated with the object. */ -void TriggerObjectTileAnimation(const Object *o, TileIndex tile, ObjectAnimationTrigger trigger, const ObjectSpec *spec) +void TriggerObjectTileAnimation(Object *o, TileIndex tile, ObjectAnimationTrigger trigger, const ObjectSpec *spec) { if (!HasBit(spec->animation.triggers, trigger)) return; @@ -550,7 +550,7 @@ void TriggerObjectTileAnimation(const Object *o, TileIndex tile, ObjectAnimation * @param trigger The trigger that is triggered. * @param spec The spec associated with the object. */ -void TriggerObjectAnimation(const Object *o, ObjectAnimationTrigger trigger, const ObjectSpec *spec) +void TriggerObjectAnimation(Object *o, ObjectAnimationTrigger trigger, const ObjectSpec *spec) { if (!HasBit(spec->animation.triggers, trigger)) return; |