[Doors] Improvements to door manipulation (#2370)

This commit is contained in:
Chris Miles authored and GitHub committed 2022-08-13 18:16:55 -05:00
1 parent aa2b7f8947
commit b79e1947f1
6 files changed
+701 -736

No files matched your search

+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)) {