(svn r11913) -Fix (r11871): update signals after company bankrupt and disaster too

This commit is contained in:
smatz 2008-01-18 02:16:39 +00:00
parent 1182a940cf
commit 91cb42fa73
2 changed files with 6 additions and 3 deletions

View File

@ -72,6 +72,9 @@ static void DisasterClearSquare(TileIndex tile)
_current_player = OWNER_WATER;
DoCommand(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR);
_current_player = p;
/* update signals in buffer */
UpdateSignalsInBuffer();
}
break;

View File

@ -449,10 +449,10 @@ void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player)
UpdateLevelCrossing(tile);
}
} while (++tile != MapSize());
/* update signals in buffer */
UpdateSignalsInBuffer();
}
/* update signals in buffer */
UpdateSignalsInBuffer();
}
/* Change color of existing windows */