]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
In prog reset functions, do not call functions unless prog->loaded.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Aug 2013 13:40:35 +0000 (13:40 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Aug 2013 13:40:35 +0000 (13:40 +0000)
commit97703839c970c295ba6173da463906bdec6d55cd
treedc5be72702f6b02e9d41c64d931e2fe739bb7b05
parent4f1a1c642316d2f85a4073eb969f962f24ed647b
In prog reset functions, do not call functions unless prog->loaded.

This fixes segfaults in case progs loading itself may have caused Host_Error.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11995 d7cf8633-e32d-0410-b094-e92efae38249
csprogs.c
menu.c
svvm_cmds.c