diff options
Diffstat (limited to 'src/beingmanager.cpp')
-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 10123d06..7a94859a 100644 --- a/src/beingmanager.cpp +++ b/src/beingmanager.cpp @@ -74,9 +74,9 @@ Being* BeingManager::createBeing(Uint32 id, Uint16 job) if (job < 10) { being = new Player(id, job, mMap); - MessageOut outMsg(mNetwork); - outMsg.writeInt16(0x0094); - outMsg.writeInt32(id);//readLong(2)); + MessageOut outMsg; + outMsg.writeShort(0x0094); + outMsg.writeLong(id); } else if (job >= 100 & job < 200) being = new NPC(id, job, mMap, mNetwork); |