Update to 12.0-beta1

This commit is contained in:
dP
2021-08-15 14:57:29 +03:00
parent ac7d3eba75
commit 9df4f2c4fc
666 changed files with 61302 additions and 20466 deletions

View File

@@ -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);
}
}