add firstperson cid check
This commit is contained in:
parent
69f77548a8
commit
0e05ed63f2
@ -568,7 +568,10 @@ AOPacket AOClient::validateIcPacket(AOPacket packet)
|
||||
// char id
|
||||
if (incoming_args[8].toInt() != char_id)
|
||||
return invalid;
|
||||
args.append(incoming_args[8].toString());
|
||||
if (first_person)
|
||||
args.append("-1"); // messages with a cid of -1 don't update the viewport
|
||||
else
|
||||
args.append(incoming_args[8].toString());
|
||||
|
||||
// sfx delay
|
||||
args.append(incoming_args[9].toString());
|
||||
|
Loading…
Reference in New Issue
Block a user