Skip to content

Commit

Permalink
compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov committed Sep 1, 2021
1 parent 987768a commit 19ea52c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions regamedll/dlls/API/CSPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,11 @@ 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);
#else
return false;
#endif
}

EXT_FUNC void CCSPlayer::OnNicknameChanged()
Expand Down

0 comments on commit 19ea52c

Please sign in to comment.