Minor bugfixes

This commit is contained in:
Max-Wilhelm Bruker 2009-03-14 00:02:22 +01:00
parent a11f93df4d
commit e31cfd32b1
9 changed files with 26 additions and 17 deletions

View file

@ -96,9 +96,11 @@ void TestServerGame::startGameIfReady()
for (int i = 0; i < players.size(); i++)
if (players.at(i)->getStatus() != StatusReadyStart)
return;
rnd = new TestRandom(this);
rnd->init();
if (!rnd) {
rnd = new TestRandom(this);
rnd->init();
}
for (int i = 0; i < players.size(); i++)
players.at(i)->setupZones();