summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: