diff --git a/src/client/game/game.cpp b/src/client/game/game.cpp index 10e5fb4..ec60937 100644 --- a/src/client/game/game.cpp +++ b/src/client/game/game.cpp @@ -11,7 +11,7 @@ bool is_mp() { return current == gamemode::multiplayer; } bool is_sp() { return current == gamemode::zombies; } } // namespace environment -bool SV_IsTestClient(int clientNum) { +int SV_IsTestClient(int clientNum) { return svs_clients[clientNum].bIsTestClient == 1; } } // namespace game diff --git a/src/client/game/game.hpp b/src/client/game/game.hpp index 3f2fb18..40ac1a8 100644 --- a/src/client/game/game.hpp +++ b/src/client/game/game.hpp @@ -34,7 +34,7 @@ private: T* t5zm_; }; -extern bool SV_IsTestClient(int clientNum); +extern int SV_IsTestClient(int clientNum); } // namespace game #include "symbols.hpp"