diff --git a/source/ps/Game.h b/source/ps/Game.h index b18de1859c..0670e108eb 100755 --- a/source/ps/Game.h +++ b/source/ps/Game.h @@ -101,7 +101,7 @@ public: inline CPlayer *GetPlayer(uint idx) { - if (idx >= 0 && idx < m_NumPlayers) + if (idx >= 0 && idx <= m_NumPlayers) return m_Players[idx]; else {