From f3b217db9dd377d2e8e5d28434cc01ffe5c23b3b Mon Sep 17 00:00:00 2001 From: darkvater Date: Wed, 11 May 2005 18:09:12 +0000 Subject: [PATCH] (svn r2296) - Fix (regression): oops, forgot the MS code-decleration rules :p --- unmovable_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unmovable_cmd.c b/unmovable_cmd.c index 3d4d331299..b492febd67 100644 --- a/unmovable_cmd.c +++ b/unmovable_cmd.c @@ -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;