woops, thats not how that works

This commit is contained in:
in1tiate 2021-04-30 23:05:18 -05:00
parent b6f4982643
commit 05201ac82d

View File

@ -502,6 +502,8 @@ AOPacket AOClient::validateIcPacket(AOPacket packet)
// emote
emote = incoming_args[3].toString();
if (first_person)
emote = "";
args.append(emote);
// message text
@ -566,12 +568,9 @@ AOPacket AOClient::validateIcPacket(AOPacket packet)
args.append(QString::number(emote_mod));
// char id
if (incoming_args[8].toInt() != char_id && incoming_args[8].toInt() != -1)
if (incoming_args[8].toInt() != char_id)
return invalid;
if (first_person)
args.append("-1"); // messages with a cid of -1 don't update the viewport
else
args.append(incoming_args[8].toString());
args.append(incoming_args[8].toString());
// sfx delay
args.append(incoming_args[9].toString());