From 09107fedf20ab0840fc08db32be84d3bb02db70a Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Thu, 29 Jun 2006 17:11:47 +0000 Subject: GCC 4 fix. --- ChangeLog | 1 + src/net/beinghandler.cpp | 2 ++ 2 files changed, 3 insertions(+) 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 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: -- cgit v1.2.3-70-g09d2