Update to 12.0-beta1
This commit is contained in:
@@ -335,7 +335,7 @@ static uint32 GetCountAndDistanceOfClosestInstance(byte local_id, uint32 grfid,
|
||||
}
|
||||
|
||||
unhandled:
|
||||
DEBUG(grf, 1, "Unhandled object variable 0x%X", variable);
|
||||
Debug(grf, 1, "Unhandled object variable 0x{:X}", variable);
|
||||
|
||||
*available = false;
|
||||
return UINT_MAX;
|
||||
@@ -554,7 +554,7 @@ void TriggerObjectAnimation(Object *o, ObjectAnimationTrigger trigger, const Obj
|
||||
{
|
||||
if (!HasBit(spec->animation.triggers, trigger)) return;
|
||||
|
||||
TILE_AREA_LOOP(tile, o->location) {
|
||||
for (TileIndex tile : o->location) {
|
||||
TriggerObjectTileAnimation(o, tile, trigger, spec);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user