Fatality! (Fix for event_say parse events not observing the correct parser for their situation)

This commit is contained in:
Uleat
2020-01-13 01:47:39 -05:00
parent c438819ed6
commit 9bdb70b2f0
2 changed files with 27 additions and 8 deletions
+6 -2
View File
@@ -8297,7 +8297,9 @@ void Client::Handle_OP_ItemLinkClick(const EQApplicationPacket *app)
parse->EventPlayer(EVENT_BOT_COMMAND, this, response.substr(1).c_str(), 0);
}
#endif
parse->EventPlayer(EVENT_SAY, this, response.c_str(), 0);
else {
parse->EventPlayer(EVENT_SAY, this, response.c_str(), 0);
}
}
else {
Message(Chat::LightGray, "You say, '%s'", response.c_str());
@@ -8315,7 +8317,9 @@ void Client::Handle_OP_ItemLinkClick(const EQApplicationPacket *app)
parse->EventPlayer(EVENT_BOT_COMMAND, this, response.substr(1).c_str(), 0);
}
#endif
parse->EventPlayer(EVENT_SAY, this, response.c_str(), 0);
else {
parse->EventPlayer(EVENT_SAY, this, response.c_str(), 0);
}
}
else {
Message(Chat::LightGray, "You say, '%s'", response.c_str());