author | darkvater |
Wed, 11 May 2005 18:09:12 +0000 | |
changeset 1792 | 42a160b19baf |
parent 1791 | 0143d485d947 |
child 1793 | 8ac8a8c9ec0f |
unmovable_cmd.c | file | annotate | diff | comparison | revisions |
--- 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;