From 96e95c19eef7770e4d59afbc93fbbdf8e6ad94bf Mon Sep 17 00:00:00 2001 From: Ulukyn Date: Tue, 3 Mar 2020 18:32:23 +0100 Subject: [PATCH] Changed: Fix issue with webig dynChat --- code/ryzom/client/src/interface_v3/group_in_scene_bubble.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/group_in_scene_bubble.cpp b/code/ryzom/client/src/interface_v3/group_in_scene_bubble.cpp index 063b56131..075dd6f7d 100644 --- a/code/ryzom/client/src/interface_v3/group_in_scene_bubble.cpp +++ b/code/ryzom/client/src/interface_v3/group_in_scene_bubble.cpp @@ -892,7 +892,7 @@ void CGroupInSceneBubbleManager::dynChatOpen (uint32 nBotUID, uint32 nBotName, c uint32 pos, j; for (pos = 0; pos < _DynBubbles.size(); ++pos) { - if (_DynBubbles[pos].BotUID == nBotUID) + if (_DynBubbles[pos].BotUID == nBotUID && _DynBubbles[pos].BotName != 0) break; } @@ -1005,7 +1005,7 @@ void CGroupInSceneBubbleManager::webIgChatOpen (uint32 nBotUID, string text, con uint32 pos, j; for (pos = 0; pos < _DynBubbles.size(); ++pos) { - if (_DynBubbles[pos].BotUID == nBotUID) + if (_DynBubbles[pos].BotUID == nBotUID && _DynBubbles[pos].BotName == 0) break; }