[Bug Fix] Allow GMs to chat when stunned (#1380)

This commit is contained in:
splose 2021-06-11 14:27:52 -04:00 committed by GitHub
parent f0d0c83710
commit 854a09fc84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4214,7 +4214,7 @@ void Client::Handle_OP_ChannelMessage(const EQApplicationPacket *app)
std::cout << "Wrong size " << app->size << ", should be " << sizeof(ChannelMessage_Struct) << "+ on 0x" << std::hex << std::setfill('0') << std::setw(4) << app->GetOpcode() << std::dec << std::endl; std::cout << "Wrong size " << app->size << ", should be " << sizeof(ChannelMessage_Struct) << "+ on 0x" << std::hex << std::setfill('0') << std::setw(4) << app->GetOpcode() << std::dec << std::endl;
return; return;
} }
if (IsAIControlled()) { if (IsAIControlled() && !GetGM()) {
Message(Chat::Red, "You try to speak but cant move your mouth!"); Message(Chat::Red, "You try to speak but cant move your mouth!");
return; return;
} }