summaryrefslogtreecommitdiff
path: root/src/network/core/game_info.cpp
diff options
context:
space:
mode:
authorRubidium <rubidium@openttd.org>2021-07-21 21:41:21 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-07-21 22:28:51 +0200
commitba29edb0b3477f986bbefbf02d7bc619bac182f9 (patch)
treeb58652503983c23bf22b3d6c00eb8b53bdc94416 /src/network/core/game_info.cpp
parent9cc706847cc92e8408426c78c3bee575c3323d15 (diff)
downloadopenttd-ba29edb0b3477f986bbefbf02d7bc619bac182f9.tar.xz
Cleanup: remove some references to the old master-server
Diffstat (limited to 'src/network/core/game_info.cpp')
-rw-r--r--src/network/core/game_info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/game_info.cpp b/src/network/core/game_info.cpp
index 85d66807b..ebc78fffc 100644
--- a/src/network/core/game_info.cpp
+++ b/src/network/core/game_info.cpp
@@ -352,7 +352,7 @@ void DeserializeNetworkGameInfo(Packet *p, NetworkGameInfo *info, const GameInfo
info->landscape = p->Recv_uint8 ();
info->dedicated = p->Recv_bool ();
- if (info->landscape >= NETWORK_NUM_LANDSCAPES) info->landscape = 0;
+ if (info->landscape >= NUM_LANDSCAPE) info->landscape = 0;
}
}