[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
+1 -1
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;
return;
}
if (IsAIControlled()) {
if (IsAIControlled() && !GetGM()) {
Message(Chat::Red, "You try to speak but cant move your mouth!");
return;
}