mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-23 12:38:52 -04:00
[Client] Don't process hits on non-actors after sending ObjectHit packet
This prevents errors about the non-actors not having CreatureStats.
This commit is contained in:
parent
8bb22f1b73
commit
2a3d6ea7f0
@ -299,6 +299,7 @@ namespace MWClass
|
||||
objectList->packetOrigin = mwmp::CLIENT_GAMEPLAY;
|
||||
objectList->addObjectHit(victim, ptr);
|
||||
objectList->sendObjectHit();
|
||||
return;
|
||||
}
|
||||
/*
|
||||
End of tes3mp change (major)
|
||||
|
@ -607,6 +607,7 @@ namespace MWClass
|
||||
objectList->packetOrigin = mwmp::CLIENT_GAMEPLAY;
|
||||
objectList->addObjectHit(victim, ptr);
|
||||
objectList->sendObjectHit();
|
||||
return;
|
||||
}
|
||||
/*
|
||||
End of tes3mp change (major)
|
||||
|
Loading…
x
Reference in New Issue
Block a user