Skip to content

Commit

Permalink
compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wopox1337 committed Sep 1, 2021
1 parent 987768a commit e9d84c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions regamedll/dlls/API/CSPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e9d84c7

Please sign in to comment.