1
0
Fork 1
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:
David Cernat 2022-04-15 17:09:01 +03:00
parent 8bb22f1b73
commit 2a3d6ea7f0
2 changed files with 2 additions and 0 deletions

View file

@ -299,6 +299,7 @@ namespace MWClass
objectList->packetOrigin = mwmp::CLIENT_GAMEPLAY;
objectList->addObjectHit(victim, ptr);
objectList->sendObjectHit();
return;
}
/*
End of tes3mp change (major)

View file

@ -607,6 +607,7 @@ namespace MWClass
objectList->packetOrigin = mwmp::CLIENT_GAMEPLAY;
objectList->addObjectHit(victim, ptr);
objectList->sendObjectHit();
return;
}
/*
End of tes3mp change (major)