diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-06-05 08:06:34 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-06-05 08:06:34 +0000 |
commit | aba239393ecd298e8ffd16e0b6a5d86837c594ae (patch) | |
tree | 9f3495fb4faba6105cd485a3f0b48ac19ad8afb7 /src/being.cpp | |
parent | e8f15d7081174ab2930b132bd96264b9cef22ce8 (diff) | |
download | mana-aba239393ecd298e8ffd16e0b6a5d86837c594ae.tar.gz mana-aba239393ecd298e8ffd16e0b6a5d86837c594ae.tar.bz2 mana-aba239393ecd298e8ffd16e0b6a5d86837c594ae.tar.xz mana-aba239393ecd298e8ffd16e0b6a5d86837c594ae.zip |
- Fixes for short sword
- New NPC
- Fix for npc ids
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index e6435487..80de74e1 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -87,8 +87,7 @@ unsigned int findNpc(unsigned short x, unsigned short y) for (i = beings.begin(); i != beings.end(); i++) { Being *being = (*i); // Check if is a NPC (only low job ids) - if (being->job >= 46 && being->job <= 125 && - being->x == x && being->y == y) + if (being->isNpc() && being->x == x && being->y == y) { return being->id; } |