summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/disaster_cmd.cpp3
-rw-r--r--src/economy.cpp6
2 files changed, 6 insertions, 3 deletions
diff --git a/src/disaster_cmd.cpp b/src/disaster_cmd.cpp
index d346d214d..bc4b11050 100644
--- a/src/disaster_cmd.cpp
+++ b/src/disaster_cmd.cpp
@@ -72,6 +72,9 @@ static void DisasterClearSquare(TileIndex tile)
_current_player = OWNER_WATER;
DoCommand(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR);
_current_player = p;
+
+ /* update signals in buffer */
+ UpdateSignalsInBuffer();
}
break;
diff --git a/src/economy.cpp b/src/economy.cpp
index 1156befb7..0891d27a1 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -449,10 +449,10 @@ void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player)
UpdateLevelCrossing(tile);
}
} while (++tile != MapSize());
-
- /* update signals in buffer */
- UpdateSignalsInBuffer();
}
+
+ /* update signals in buffer */
+ UpdateSignalsInBuffer();
}
/* Change color of existing windows */