- fix for issue 558 (compilation issues in release mode on most platforms)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-12-13 13:16:01 +00:00
parent 64af4470e4
commit 19fe04b882
2 changed files with 6 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
#ifndef _TESTSUITE_AI_H_
#define _TESTSUITE_AI_H_
#ifdef TESTSUITE
#define MAX_TESTSUITE_ACTIONS 100
#define MAX_TESTUITE_CARDS 100
@@ -98,3 +100,4 @@ class TestSuiteAI:public AIPlayerBaka{
#endif
#endif

View File

@@ -11,6 +11,8 @@
using std::string;
#ifdef TESTSUITE
// NULL is sent in place of a MTGDeck since there is no way to create a MTGDeck without a proper deck file.
// TestSuiteAI will be responsible for managing its own deck state.
TestSuiteAI::TestSuiteAI(TestSuite * _suite, int playerId) :
@@ -761,3 +763,4 @@ void TestSuite::pregameTests()
if (!sb.unitTest()) nbFailed++;
}
}
#endif