(svn r2296) - Fix (regression): oops, forgot the MS code-decleration rules :p

This commit is contained in:
darkvater 2005-05-11 18:09:12 +00:00
parent a72c06d845
commit f3b217db9d
1 changed files with 2 additions and 1 deletions

View File

@ -373,8 +373,9 @@ int32 CmdDestroyCompanyHQ(int x, int y, uint32 flags, uint32 p1, uint32 p2)
/* Find player that has HQ flooded, and reset their location_of_house */
if (_current_player == OWNER_WATER) {
tile = TILE_FROM_XY(x,y);
bool dodelete = false;
tile = TILE_FROM_XY(x,y);
FOR_ALL_PLAYERS(p) {
if (p->location_of_house == tile) {
dodelete = true;