summaryrefslogtreecommitdiff
path: root/src/game-server/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/state.cpp')
-rw-r--r--src/game-server/state.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game-server/state.cpp b/src/game-server/state.cpp
index 2033c4bf..9df353a1 100644
--- a/src/game-server/state.cpp
+++ b/src/game-server/state.cpp
@@ -417,7 +417,8 @@ static void informPlayer(MapComposite *map, Character *p)
{
Effect *o = static_cast< Effect * >(*i);
o->show();
- if(!(oflags & UPDATEFLAG_NEW_ON_MAP)) //don't show old effects
+ // Don't show old effects
+ if (!(oflags & UPDATEFLAG_NEW_ON_MAP))
break;
MessageOut effectMsg(GPMSG_CREATE_EFFECT);
effectMsg.writeShort(o->getEffectId());