summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/being.cpp b/src/being.cpp
index d8401673..8207d4a2 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -27,7 +27,7 @@
Being *player_node = NULL;
-std::list<Being *> beings;
+std::list<Being*> beings;
PATH_NODE::PATH_NODE(unsigned short x, unsigned short y):
next(NULL)
@@ -36,13 +36,6 @@ PATH_NODE::PATH_NODE(unsigned short x, unsigned short y):
this->y = y;
}
-PATH_NODE *calculate_path(
- unsigned short src_x, unsigned short src_y,
- unsigned short dest_x, unsigned short dest_y)
-{
- return find_path(1, src_x, src_y, dest_x, dest_y);
-}
-
void empty() {
std::list<Being *>::iterator i;
for (i = beings.begin(); i != beings.end(); i++) {