diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-01-20 12:37:35 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-01-20 12:37:35 +0000 |
commit | 31169dcb29350380de2f89c0f834aee529c5ff0f (patch) | |
tree | 0168421b0667c8e24ad0539f15320bc0c9a876a4 /src | |
parent | 4c2cabced8943dea1f5b1209381aeaa174b62657 (diff) | |
download | mana-31169dcb29350380de2f89c0f834aee529c5ff0f.tar.gz mana-31169dcb29350380de2f89c0f834aee529c5ff0f.tar.bz2 mana-31169dcb29350380de2f89c0f834aee529c5ff0f.tar.xz mana-31169dcb29350380de2f89c0f834aee529c5ff0f.zip |
Allow more NPCs
Diffstat (limited to 'src')
-rw-r--r-- | src/beingmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/beingmanager.cpp b/src/beingmanager.cpp index a1cb61e8..ecf8ab61 100644 --- a/src/beingmanager.cpp +++ b/src/beingmanager.cpp @@ -71,15 +71,15 @@ Being* BeingManager::createBeing(Uint32 id, Uint16 job) if (job < 10) being = new Player(id, job, mMap); - else if (job >= 100 && job < 200) + else if (job >= 10 && job < 1002) being = new NPC(id, job, mMap, mNetwork); - else if (job >= 1000 && job < 1200) + else if (job >= 1002 && job < 1200) being = new Monster(id, job, mMap); else being = new Being(id, job, mMap); // Player or NPC - if (job < 200) + if (job < 1002) { MessageOut outMsg(mNetwork); outMsg.writeInt16(0x0094); |