summaryrefslogtreecommitdiff
path: root/src/beingmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/beingmanager.cpp')
-rw-r--r--src/beingmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/beingmanager.cpp b/src/beingmanager.cpp
index d63e0dc5..a2d39150 100644
--- a/src/beingmanager.cpp
+++ b/src/beingmanager.cpp
@@ -69,11 +69,11 @@ Being* BeingManager::createBeing(Uint32 id, Uint16 job)
{
Being *being;
- if (job < 10)
+ if (job <= 25 || (job >= 4001 && job <= 4049))
being = new Player(id, job, mMap);
- else if (job >= 100 && job < 200)
+ else if (job >= 46 && job <= 1000)
being = new NPC(id, job, mMap, mNetwork);
- else if (job >= 1000 && job < 1200)
+ else if (job > 1000 && job <= 2000)
being = new Monster(id, job, mMap);
else
being = new Being(id, job, mMap);