diff options
-rw-r--r-- | src/net/ea/beinghandler.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 0ad15d7d..7fc28f15 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -134,7 +134,9 @@ void BeingHandler::handleMessage(MessageIn &msg) dstBeing = createBeing(id, job); } - else if (dstBeing->getType() == Being::MONSTER) + + // Fix monster jobs + if (dstBeing->getType() == Being::MONSTER) { job -= 1002; } @@ -430,7 +432,9 @@ void BeingHandler::handleMessage(MessageIn &msg) { dstBeing = createBeing(id, job); } - else if (dstBeing->getType() == Being::MONSTER) + + // Fix monster jobs + if (dstBeing->getType() == Being::MONSTER) { job -= 1002; } |