summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-06-29 17:11:47 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-06-29 17:11:47 +0000
commit09107fedf20ab0840fc08db32be84d3bb02db70a (patch)
treefeefb61179e6e8c8c8d475f687699917f8a7cbbc
parent83282c3948f7f2af1e8b0d22d5ab2264c107b268 (diff)
downloadmana-client-09107fedf20ab0840fc08db32be84d3bb02db70a.tar.gz
mana-client-09107fedf20ab0840fc08db32be84d3bb02db70a.tar.bz2
mana-client-09107fedf20ab0840fc08db32be84d3bb02db70a.tar.xz
mana-client-09107fedf20ab0840fc08db32be84d3bb02db70a.zip
GCC 4 fix.
-rw-r--r--ChangeLog1
-rw-r--r--src/net/beinghandler.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6744c377..15f467b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* data/items.xml, src/being.cpp, src/being.h src/net/beinghandler.cpp,
src/player.cpp: Clients get notified of equipping visible items.
+ * src/net/beinghandler.cpp : GCC 4 fix.
2006-06-27 Eugenio Favalli <elvenprogrammer@gmail.com>
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp
index b4e60b4e..58660094 100644
--- a/src/net/beinghandler.cpp
+++ b/src/net/beinghandler.cpp
@@ -251,6 +251,7 @@ void BeingHandler::handleMessage(MessageIn *msg)
break;
case SMSG_BEING_CHANGE_LOOKS:
+ {
if (!(dstBeing = beingManager->findBeing(msg->readInt32())))
{
break;
@@ -280,6 +281,7 @@ void BeingHandler::handleMessage(MessageIn *msg)
printf("c3: %i\n", msg->readInt8()); // unsupported
break;
}
+ }
break;
case SMSG_BEING_NAME_RESPONSE: