summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index ecba066fa..8779f87d4 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -2425,9 +2425,7 @@ bool AfterLoadGame()
/* Move river flag and update canals to use water class */
if (IsTileType(t, MP_WATER)) {
- if (_m[t].m5 == 2) {
- MakeRiver(t, Random());
- } else {
+ if (GetWaterClass(t) != WATER_CLASS_RIVER) {
if (IsWater(t)) {
Owner o = GetTileOwner(t);
if (o == OWNER_WATER) {