summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2009-07-19 19:23:48 -0400
committerChuck Miller <shadowmil@gmail.com>2009-07-19 19:23:48 -0400
commit2e8fca7d471b4e2bf20735a0669e96722c000669 (patch)
tree8c4c1324e2731660818334b1210dcec9a7898b5a /src
parentbef8455d07b231098d0adc7f2ae7dd4b1fcfc4ca (diff)
downloadmana-2e8fca7d471b4e2bf20735a0669e96722c000669.tar.gz
mana-2e8fca7d471b4e2bf20735a0669e96722c000669.tar.bz2
mana-2e8fca7d471b4e2bf20735a0669e96722c000669.tar.xz
mana-2e8fca7d471b4e2bf20735a0669e96722c000669.zip
Fixes raising player attributes
Diffstat (limited to 'src')
-rw-r--r--src/net/ea/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 9464723a..c2a1ecf1 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -486,7 +486,7 @@ void PlayerHandler::increaseAttribute(size_t attr)
if (attr >= STR && attr <= LUK)
{
MessageOut outMsg(CMSG_STAT_UPDATE_REQUEST);
- outMsg.writeInt16(STR);
+ outMsg.writeInt16(attr);
outMsg.writeInt8(1);
}
}