mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Also allow access to the last player ;-)
This was SVN commit r1765.
This commit is contained in:
+1
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user