forked from 0ad/0ad
Also allow access to the last player ;-)
This was SVN commit r1765.
This commit is contained in:
parent
2c4b86e9ab
commit
e8121ca394
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user