mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
[Bug Fix] Allow GMs to chat when stunned (#1380)
This commit is contained in:
parent
f0d0c83710
commit
854a09fc84
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user