@@ -256,17 +256,24 @@ void NPFMarkTile(TileIndex tile) {
#ifdef NO_DEBUG_MESSAGES
return;
#else
if (_debug_npf_level >= 1)
switch(GetTileType(tile)) {
case MP_RAILWAY:
case MP_STREET:
/* DEBUG: mark visited tiles by mowing the grass under them
* ;-) */
_map2[tile] &= ~15;
MarkTileDirtyByTile(tile);
if (!IsTileDepotType(tile, TRANSPORT_RAIL)) {
_map2[tile] &= ~15; /* Clear bits 0-3 */
}
break;
if (!IsTileDepotType(tile, TRANSPORT_ROAD)) {
_map3_hi[tile] &= ~0x70; /* Clear bits 4-6 */
default:
#endif