Remove #ifdef HAVE_PYTHON, we're going the python way now

This commit is contained in:
Isaac Clerencia Perez 2005-12-27 20:43:17 +00:00
parent 528ba5a22c
commit c1ab66507a
2 changed files with 0 additions and 8 deletions

View file

@ -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

View file

@ -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