From 2ffade365c863ce9427528d5b7bd798493747085 Mon Sep 17 00:00:00 2001 From: "False.Genesis" Date: Thu, 11 Jan 2007 18:16:56 +0000 Subject: [PATCH] forgot something again :/ --- src/Client/World/WorldSession.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Client/World/WorldSession.cpp b/src/Client/World/WorldSession.cpp index 70c6de0..852e470 100644 --- a/src/Client/World/WorldSession.cpp +++ b/src/Client/World/WorldSession.cpp @@ -368,10 +368,8 @@ void WorldSession::_HandleMessageChatOpcode(WorldPacket& recvPacket) plrname="Unknown Entity"; } } - /*defScp.variables.Set("@lastmsg_name",defScp.variables.Get("@thismsg_name")); - defScp.variables.Set("@lastmsg",defScp.variables.Get("@lastmsg")); - defScp.variables.Set("@thismsg_name",plrname); - defScp.variables.Set("@thismsg",toString(target_guid));*/ + GetInstance()->GetScripts()->variables.Set("@thismsg_name",plrname); + GetInstance()->GetScripts()->variables.Set("@thismsg",toString(target_guid)); if(type == CHAT_MSG_SAY || type == CHAT_MSG_YELL || type == CHAT_MSG_PARTY)