Update existing assertions to log tile information where suitable
This commit is contained in:
@@ -243,7 +243,7 @@ uint16 GetAiPurchaseCallbackResult(uint8 feature, CargoID cargo_type, uint8 defa
|
||||
*/
|
||||
void AmbientSoundEffectCallback(TileIndex tile)
|
||||
{
|
||||
assert(IsTileType(tile, MP_CLEAR) || IsTileType(tile, MP_TREES) || IsTileType(tile, MP_WATER));
|
||||
assert_tile(IsTileType(tile, MP_CLEAR) || IsTileType(tile, MP_TREES) || IsTileType(tile, MP_WATER), tile);
|
||||
|
||||
/* Only run every 1/200-th time. */
|
||||
uint32 r; // Save for later
|
||||
|
Reference in New Issue
Block a user