changeset 1792 | 42a160b19baf |
parent 1791 | 0143d485d947 |
child 1796 | cae31916ae54 |
--- a/unmovable_cmd.c Wed May 11 16:29:33 2005 +0000 +++ b/unmovable_cmd.c Wed May 11 18:09:12 2005 +0000 @@ -373,8 +373,9 @@ /* Find player that has HQ flooded, and reset their location_of_house */ if (_current_player == OWNER_WATER) { + bool dodelete = false; tile = TILE_FROM_XY(x,y); - bool dodelete = false; + FOR_ALL_PLAYERS(p) { if (p->location_of_house == tile) { dodelete = true;