summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-01-20 14:29:05 +0000
committerJared Adams <jaxad0127@gmail.com>2009-01-20 14:29:48 +0000
commitb25b78bcf58740f8c77db05dfdf0db6afa6f61f3 (patch)
treefe31060897c2dabc213bdc92ef0c4f555277218a /src
parenta423ae1cf880da89cb5e73dcf2321322fae0164b (diff)
downloadmana-b25b78bcf58740f8c77db05dfdf0db6afa6f61f3.tar.gz
mana-b25b78bcf58740f8c77db05dfdf0db6afa6f61f3.tar.bz2
mana-b25b78bcf58740f8c77db05dfdf0db6afa6f61f3.tar.xz
mana-b25b78bcf58740f8c77db05dfdf0db6afa6f61f3.zip
Fix range for NPCs to not include the warp class
Diffstat (limited to 'src')
-rw-r--r--src/beingmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/beingmanager.cpp b/src/beingmanager.cpp
index 21620049..24d0bcfa 100644
--- a/src/beingmanager.cpp
+++ b/src/beingmanager.cpp
@@ -71,7 +71,7 @@ Being* BeingManager::createBeing(Uint32 id, Uint16 job)
if (job < 10)
being = new Player(id, job, mMap);
- else if (job >= 10 && job < 1002)
+ else if (job >= 50 && job < 1002)
being = new NPC(id, job, mMap, mNetwork);
else if (job >= 1002 && job < 1500)
being = new Monster(id, job, mMap);