validate ic packets with a cid of -1
This commit is contained in:
parent
0e05ed63f2
commit
b6f4982643
@ -566,7 +566,7 @@ AOPacket AOClient::validateIcPacket(AOPacket packet)
|
|||||||
args.append(QString::number(emote_mod));
|
args.append(QString::number(emote_mod));
|
||||||
|
|
||||||
// char id
|
// char id
|
||||||
if (incoming_args[8].toInt() != char_id)
|
if (incoming_args[8].toInt() != char_id && incoming_args[8].toInt() != -1)
|
||||||
return invalid;
|
return invalid;
|
||||||
if (first_person)
|
if (first_person)
|
||||||
args.append("-1"); // messages with a cid of -1 don't update the viewport
|
args.append("-1"); // messages with a cid of -1 don't update the viewport
|
||||||
|
Loading…
Reference in New Issue
Block a user