Tools - random number function is now static. Fixed player number issue with network games (GUI player number needs to be 0), this still requires some work.
This commit is contained in:
@@ -58,6 +58,8 @@ public:
|
||||
{return m_uniqueId;}
|
||||
int GetNumber() const
|
||||
{return m_number;}
|
||||
void SetNumber(int number)
|
||||
{m_number = number;}
|
||||
|
||||
bool operator<(const PlayerData &other)
|
||||
{return m_number < other.GetNumber();}
|
||||
|
||||
Reference in New Issue
Block a user