Skip to content

Commit

Permalink
Fix reading of scavenger parameter in challenge files. Reported by Ku…
Browse files Browse the repository at this point in the history
…kY, closes ticket:3630
  • Loading branch information
perim committed Jul 21, 2012
1 parent 62c8c72 commit 95677b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multiint.cpp
Expand Up @@ -3786,7 +3786,7 @@ bool startMultiOptions(bool bReenter)
sstrcpy(game.map, challenge.value("Map", game.map).toString().toAscii().constData());
game.hash = levGetMapNameHash(game.map);
game.maxPlayers = challenge.value("MaxPlayers", game.maxPlayers).toInt(); // TODO, read from map itself, not here!!
game.scavengers = challenge.value("Scavengers", game.scavengers).toInt();
game.scavengers = challenge.value("Scavengers", game.scavengers).toBool();
game.alliance = ALLIANCES_TEAMS;
netPlayersUpdated = true;
mapDownloadProgress = 100;
Expand Down

0 comments on commit 95677b0

Please sign in to comment.