diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index 315dbd7e..4d4482b6 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -103,7 +103,7 @@ Being *findNode(unsigned short x, unsigned short y) for (i = beings.begin(); i != beings.end(); i++) { Being *being = (*i); // Return being if found and it is not a dead monster - if (being->x == x && being->y == y && being->action != MONSTER_DEAD) { + if (being->x == x && being->y == y && being->action != Being::MONSTER_DEAD) { return being; } } @@ -117,7 +117,7 @@ Being* findNode(unsigned short x, unsigned short y, Being::Type type) Being *being = (*i); // Check if is a NPC (only low job ids) if (being->x == x && being->y == y && - being->getType() == type && being->action != MONSTER_DEAD) + being->getType() == type && being->action != Being::MONSTER_DEAD) { return being; } |