summaryrefslogtreecommitdiff
path: root/src/net/ea/charserverhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-13 15:33:49 +0000
committerJared Adams <jaxad0127@gmail.com>2010-01-13 15:33:49 +0000
commit938e215a848a65281be0fc5cda10dd0872c846a4 (patch)
tree7b3727bf9f6f2b7a024411e3f599148d41e9258e /src/net/ea/charserverhandler.cpp
parenta40e07c2c86aff20c3b5529228bc519f9cc4c61d (diff)
downloadmana-938e215a848a65281be0fc5cda10dd0872c846a4.tar.gz
mana-938e215a848a65281be0fc5cda10dd0872c846a4.tar.bz2
mana-938e215a848a65281be0fc5cda10dd0872c846a4.tar.xz
mana-938e215a848a65281be0fc5cda10dd0872c846a4.zip
Supress level up notifications when starting
Diffstat (limited to 'src/net/ea/charserverhandler.cpp')
-rw-r--r--src/net/ea/charserverhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index b671db23..a8a5260f 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -189,7 +189,7 @@ LocalPlayer *CharServerHandler::readPlayerData(Net::MessageIn &msg, int &slot)
tempPlayer->setMoney(msg.readInt32());
tempPlayer->setExperience(JOB, msg.readInt32(), 1);
int temp = msg.readInt32();
- tempPlayer->setAttributeBase(JOB, temp);
+ tempPlayer->setAttributeBase(JOB, temp, false);
tempPlayer->setAttributeEffective(JOB, temp);
tempPlayer->setSprite(Player::SHOE_SPRITE, msg.readInt16());
tempPlayer->setSprite(Player::GLOVES_SPRITE, msg.readInt16());
@@ -218,7 +218,7 @@ LocalPlayer *CharServerHandler::readPlayerData(Net::MessageIn &msg, int &slot)
tempPlayer->setSprite(Player::MISC2_SPRITE, msg.readInt16());
tempPlayer->setName(msg.readString(24));
for (int i = 0; i < 6; i++)
- tempPlayer->setAttributeBase(i + STR, msg.readInt8());
+ tempPlayer->setAttributeBase(i + STR, msg.readInt8(), false);
slot = msg.readInt8(); // character slot
msg.readInt8(); // unknown