diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/being.cpp b/src/being.cpp index 0d1933bb..069172c3 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -169,7 +169,7 @@ void sort() { Being::Being(): job(0), - x(0), y(0), destX(0), destY(0), direction(0), + x(0), y(0), direction(0), action(0), frame(0), speech_color(0), walk_time(0), @@ -208,19 +208,6 @@ void Being::setPath(std::list<PATH_NODE> path) } } -void Being::setDestination(int destX, int destY) -{ - this->destX = destX; - this->destY = destY; - - Map *map = engine->getCurrentMap(); - - if (map != NULL) - { - setPath(map->findPath(x, y, destX, destY)); - } -} - void Being::setHairColor(int color) { hairColor = color; |