szapp / GothicFreeAim

Free aiming for the video game series Gothic
https://gfa.szapp.de
MIT License
34 stars 4 forks source link

Crash on loading related to oCNpc::SetBodyState #187

Closed szapp closed 5 years ago

szapp commented 5 years ago

A hook calling oCNpc::SetBodyState does not set ECX properly (it is empty). Presumably this happens in GFA_FixStandingBodyState when the oCAniCtrl_Human object does not have an attached NPC.

szapp commented 5 years ago

Waiting for feedback from testers

szapp commented 5 years ago

It looks like the cause for the problem was unrelated. The code was improved regardless (f0dbdcf).