Remove #ifdef HAVE_PYTHON, we're going the python way now
This commit is contained in:
parent
528ba5a22c
commit
c1ab66507a
2 changed files with 0 additions and 8 deletions
|
@ -32,8 +32,6 @@ Additionally, useful utility functions such as those found in pathutils.hpp shou
|
|||
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
#include "global.hpp"
|
||||
|
||||
#include "ai.hpp"
|
||||
|
@ -1059,5 +1057,3 @@ void python_ai::play_turn()
|
|||
PyRun_SimpleFile(PyFile_AsFile(file),(char*)script.c_str());
|
||||
Py_DECREF(file);
|
||||
}
|
||||
|
||||
#endif // HAVE_PYTHON
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef AI_PYTHON_HPP_INCLUDED
|
||||
#define AI_PYTHON_HPP_INCLUDED
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
#include "ai_interface.hpp"
|
||||
#include <Python.h>
|
||||
|
||||
|
@ -62,6 +60,4 @@ protected:
|
|||
std::map<location,paths> enemy_possible_moves_;
|
||||
};
|
||||
|
||||
#endif // HAVE_PYTHON
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue