icculus / Serious-Engine

An open source version of a game engine developed by Croteam for the classic Serious Sam games.
GNU General Public License v2.0
165 stars 23 forks source link

Fix crashes from this!=NULL removal #56

Closed DanielGibson closed 8 years ago

DanielGibson commented 8 years ago

mostly checks before calling AddReference()/RemReference() so far.

this should fix #55

I haven't experienced any further crashes, but I only started the first level and played 2 minutes, so there may be more.

DanielGibson commented 8 years ago

and now I've also added a fix for the ModExt.txt vs ModEXT.txt problem.

DanielGibson commented 8 years ago

@rcgordon As the game segfaults at startup without these changes, can you merge this?

icculus commented 8 years ago

Sorry, I was busy elsewhere and not paying attention. Merging now!!

DanielGibson commented 8 years ago

Thanks a lot! :-)