diff --git a/src/newgrf_object.cpp b/src/newgrf_object.cpp --- a/src/newgrf_object.cpp +++ b/src/newgrf_object.cpp @@ -554,7 +554,7 @@ void TriggerObjectAnimation(Object *o, O { if (!HasBit(spec->animation.triggers, trigger)) return; - TILE_AREA_LOOP(tile, o->location) { + for (TileIndex tile : o->location) { TriggerObjectTileAnimation(o, tile, trigger, spec); } }