- fixed issue 267 (hope charm)
- fixed an issue in which the core Rules where not correctly loaded for the test suite
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-01-10 03:32:18 +00:00
parent 0892516ef4
commit b3dc2bcda2
5 changed files with 37 additions and 57 deletions

View File

@@ -232,9 +232,8 @@ void GameStateDuel::Update(float dt)
#ifdef TESTSUITE
else if (mParent->players[1] == PLAYER_TYPE_TESTSUITE){
if (testSuite && testSuite->loadNext()){
loadTestSuitePlayers();
rules = NEW Rules("testsuite.txt");
loadTestSuitePlayers();
mGamePhase = DUEL_STATE_PLAY;
testSuite->initGame();
char buf[4096];