summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-30 22:37:01 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-30 22:37:01 +0300
commitb78cc1c9f70f7add1c66c6a40b55b9add71de6df (patch)
tree7c3bb0aa2c2737ba478814c79e466f707f7e35b7 /src/net/eathena/charserverhandler.cpp
parentd82994bca93b4278c4751a2a4c1313ba2f41bd4b (diff)
downloadplus-b78cc1c9f70f7add1c66c6a40b55b9add71de6df.tar.gz
plus-b78cc1c9f70f7add1c66c6a40b55b9add71de6df.tar.bz2
plus-b78cc1c9f70f7add1c66c6a40b55b9add71de6df.tar.xz
plus-b78cc1c9f70f7add1c66c6a40b55b9add71de6df.zip
Add karma field to beings.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r--src/net/eathena/charserverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 35d64e70f..b2ba2da08 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -161,7 +161,7 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg,
const int misc1 = msg.readInt16(); // look like unused
msg.readInt32("option");
- msg.readInt32("karma");
+ tempPlayer->setKarma(msg.readInt32("karma"));
msg.readInt32("manner");
msg.readInt16("left points");