From: Mario Date: Wed, 3 Jun 2020 09:04:54 +0000 (+1000) Subject: Fix compilation unit test X-Git-Tag: xonotic-v0.8.5~954 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=97090df832317a4b885be09b00f33ff6175823d5;p=xonotic%2Fxonotic-data.pk3dir.git Fix compilation unit test --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 8c744b17d..df2f9c23d 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -2110,7 +2110,6 @@ void PrintWelcomeMessage(entity this) } } -const int MIN_SPEC_TIME = 1; bool joinAllowed(entity this) { if (CS(this).version_mismatch) return false; diff --git a/qcsrc/server/client.qh b/qcsrc/server/client.qh index 2c1ddab13..2f380ae2f 100644 --- a/qcsrc/server/client.qh +++ b/qcsrc/server/client.qh @@ -283,6 +283,7 @@ void ClientInit_misc(entity this); int GetPlayerLimit(); +const int MIN_SPEC_TIME = 1; bool joinAllowed(entity this); void Join(entity this);