1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Fix compile error with DISABLE_HTTP (#9309)

There are two variables, MASTER_SERVER_REGISTER_TIME and
MASTER_SERVER_HEARTBEAT_TIME, which are unused when DISABLE_HTTP is set.
This commit fixes that.
This commit is contained in:
Sijmen Schoon
2019-05-26 16:06:56 +02:00
committed by Michael Steenbeek
parent 6a8b218fd9
commit f26a1aee57

View File

@@ -41,8 +41,10 @@ enum MASTER_SERVER_STATUS
MASTER_SERVER_STATUS_INTERNAL_ERROR = 500
};
# ifndef DISABLE_HTTP
constexpr int32_t MASTER_SERVER_REGISTER_TIME = 120 * 1000; // 2 minutes
constexpr int32_t MASTER_SERVER_HEARTBEAT_TIME = 60 * 1000; // 1 minute
# endif
class NetworkServerAdvertiser final : public INetworkServerAdvertiser
{