diff --git a/ryzom/client/src/interface_v3/chat_filter.cpp b/ryzom/client/src/interface_v3/chat_filter.cpp index d1d6d78c29..d316f8450b 100644 --- a/ryzom/client/src/interface_v3/chat_filter.cpp +++ b/ryzom/client/src/interface_v3/chat_filter.cpp @@ -339,8 +339,8 @@ void CChatTargetFilter::setTargetPlayer(const string &targetPlayer) _TargetPlayer = targetPlayer; if (_TargetPartyChat) { - _TargetPartyChat = NULL; _TargetPartyChat->removeObserver(this); + _TargetPartyChat = NULL; } // set the prompt if (_Chat)