summaryrefslogtreecommitdiff
path: root/src/net
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
parenta40e07c2c86aff20c3b5529228bc519f9cc4c61d (diff)
downloadmana-client-938e215a848a65281be0fc5cda10dd0872c846a4.tar.gz
mana-client-938e215a848a65281be0fc5cda10dd0872c846a4.tar.bz2
mana-client-938e215a848a65281be0fc5cda10dd0872c846a4.tar.xz
mana-client-938e215a848a65281be0fc5cda10dd0872c846a4.zip
Supress level up notifications when starting
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/charserverhandler.cpp4
-rw-r--r--src/net/manaserv/charhandler.cpp4
2 files changed, 4 insertions, 4 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
diff --git a/src/net/manaserv/charhandler.cpp b/src/net/manaserv/charhandler.cpp
index 06c81c9e..622fceaa 100644
--- a/src/net/manaserv/charhandler.cpp
+++ b/src/net/manaserv/charhandler.cpp
@@ -166,7 +166,7 @@ void CharHandler::handleMessage(Net::MessageIn &msg)
for (int i = 0; i < 7; i++)
{
- tempPlayer->setAttributeBase(i, info.attr[i]);
+ tempPlayer->setAttributeBase(i, info.attr[i], false);
}
mCharInfo->setEntry(tempPlayer);
@@ -341,7 +341,7 @@ void CharHandler::getCharacters()
for (int i = 0; i < 7; i++)
{
- tempPlayer->setAttributeBase(i, info.attr[i]);
+ tempPlayer->setAttributeBase(i, info.attr[i], false);
}
mCharInfo->setEntry(tempPlayer);