Erwan
- fix for issue 558 (compilation issues in release mode on most platforms)
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user