[Doors] Improvements to door manipulation (#2370)

This commit is contained in:
Chris Miles
2022-08-13 18:16:55 -05:00
committed by GitHub
parent aa2b7f8947
commit b79e1947f1
6 changed files with 701 additions and 736 deletions
+2 -2
View File
@@ -1111,8 +1111,8 @@ void Client::ChannelMessageReceived(uint8 chan_num, uint8 language, uint8 lang_s
break;
}
case ChatChannel_Say: { /* Say */
if(message[0] == COMMAND_CHAR) {
if(command_dispatch(this, message) == -2) {
if (message[0] == COMMAND_CHAR) {
if (command_dispatch(this, message) == -2) {
if (parse->PlayerHasQuestSub(EVENT_COMMAND)) {
int i = parse->EventPlayer(EVENT_COMMAND, this, message, 0);
if (i == 0 && !RuleB(Chat, SuppressCommandErrors)) {