szapp / GothicFreeAim

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

Game breaking bug on inserting NPCs outside the AI range #172

Closed szapp closed 7 years ago

szapp commented 7 years ago

When NPCs are spawned out of AI range where they are shrunk (do not have visual) - happening on chapter transistions, for example - the game crashes because GFA_EnlargeHumanModelBBox() expects the NPC to have a model without safety checks or error handling.