Fixed stupid problems introduced in previous commit. Bloody GCC with Werror is simply not enough :(

This commit is contained in:
Xawotihs
2011-10-27 18:58:54 +00:00
parent c3dc51aed1
commit 5f9e8e2588
3 changed files with 5 additions and 4 deletions

View File

@@ -1582,7 +1582,7 @@ void GameObserver::loadPlayer(int playerId, PlayerType playerType, int decknb, b
sprintf(deckFile, "%s/deck%i.txt", options.profileFile().c_str(), decknb);
char deckFileSmall[255];
sprintf(deckFileSmall, "player_deck%i", decknb);
players.push_back(NEW HumanPlayer(this, deckFile, deckFileSmall));
players.push_back(NEW HumanPlayer(this, deckFile, deckFileSmall, premadeDeck));
#ifdef NETWORK_SUPPORT
// FIXME, this is broken
if(isNetwork)