mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-11 23:42:24 +00:00
Quick fix for bulk XTarget updates
This needs to be investigated more, but a 0 here for a valid mob is bad.
This commit is contained in:
parent
cbe53951f8
commit
b1f97712f1
@ -7272,7 +7272,8 @@ void Client::SendXTargetUpdates()
|
|||||||
for (int i = 0; i < GetMaxXTargets(); ++i) {
|
for (int i = 0; i < GetMaxXTargets(); ++i) {
|
||||||
if (XTargets[i].dirty) {
|
if (XTargets[i].dirty) {
|
||||||
outapp->WriteUInt32(i);
|
outapp->WriteUInt32(i);
|
||||||
outapp->WriteUInt8(0); // no idea what this is
|
// MQ2 checks this for valid mobs, so 0 is bad here at least ...
|
||||||
|
outapp->WriteUInt8(XTargets[i].ID ? 1 : 0);
|
||||||
outapp->WriteUInt32(XTargets[i].ID);
|
outapp->WriteUInt32(XTargets[i].ID);
|
||||||
outapp->WriteString(XTargets[i].Name);
|
outapp->WriteString(XTargets[i].Name);
|
||||||
count++;
|
count++;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user