mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 01:45:33 +00: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
2 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue