mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 03:32:35 +01:00
Merge pull request #97 from alketii/develop
Make sure that the _nnn suffix is always 3 digits
This commit is contained in:
commit
50de66d6da
@ -309,7 +309,7 @@ namespace Glest
|
||||
Chrono seed (true);
|
||||
srand ((unsigned int) seed.getCurTicks ());
|
||||
|
||||
int randomNickId = rand () % 999;
|
||||
int randomNickId = (rand () % 899) + 100;
|
||||
string netPlayerName =
|
||||
Config::getInstance ().getString ("NetPlayerName",
|
||||
Socket::getHostName ().c_str ());
|
||||
|
Loading…
x
Reference in New Issue
Block a user