equal
deleted
inserted
replaced
371 |
371 |
372 SET_EXPENSES_TYPE(EXPENSES_PROPERTY); |
372 SET_EXPENSES_TYPE(EXPENSES_PROPERTY); |
373 |
373 |
374 /* Find player that has HQ flooded, and reset their location_of_house */ |
374 /* Find player that has HQ flooded, and reset their location_of_house */ |
375 if (_current_player == OWNER_WATER) { |
375 if (_current_player == OWNER_WATER) { |
|
376 bool dodelete = false; |
376 tile = TILE_FROM_XY(x,y); |
377 tile = TILE_FROM_XY(x,y); |
377 bool dodelete = false; |
378 |
378 FOR_ALL_PLAYERS(p) { |
379 FOR_ALL_PLAYERS(p) { |
379 if (p->location_of_house == tile) { |
380 if (p->location_of_house == tile) { |
380 dodelete = true; |
381 dodelete = true; |
381 break; |
382 break; |
382 } |
383 } |