From 273e9b107c094141bbd4e068dbd376fd148a00c0 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Sun, 24 Feb 2008 19:18:17 +0000 Subject: Fixed a bug which caused an incorrect display of character correction points in some situations. --- src/net/playerhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/playerhandler.cpp') diff --git a/src/net/playerhandler.cpp b/src/net/playerhandler.cpp index 951d6d4e..3c06d2f5 100644 --- a/src/net/playerhandler.cpp +++ b/src/net/playerhandler.cpp @@ -258,7 +258,7 @@ void PlayerHandler::handleMessage(MessageIn &msg) logger->log("Warning: Server denied reduction of attribute %d (reason unknown) ", attrNum); int charaPoints = player_node->getCharacterPoints() - 1; player_node->setCharacterPoints(charaPoints); - int correctPoints = player_node->getCharacterPoints() + 1; + int correctPoints = player_node->getCorrectionPoints() + 1; player_node->setCorrectionPoints(correctPoints); int attrValue = player_node->getAttributeBase(attrNum) + 1; player_node->setAttributeBase(attrNum, attrValue); -- cgit v1.2.3-70-g09d2