diff --git a/regamedll/dlls/API/CSPlayer.cpp b/regamedll/dlls/API/CSPlayer.cpp index 49ec52ec8..7c77e53e4 100644 --- a/regamedll/dlls/API/CSPlayer.cpp +++ b/regamedll/dlls/API/CSPlayer.cpp @@ -571,7 +571,9 @@ EXT_FUNC void CCSPlayer::OnRoundRespawn() EXT_FUNC bool CCSPlayer::CanChangeNickname() { +#ifdef REGAMEDLL_ADD return (max_alive_name_changes.value >= 0 && m_iNickChangesBeforeSpawn > max_alive_name_changes.value); +#endif } EXT_FUNC void CCSPlayer::OnNicknameChanged()