]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_exec.c
Don't try to render something when height or width are zero.
[xonotic/darkplaces.git] / prvm_exec.c
index a14c17d3ca2d063f584990e2c26462c99e2e226d..95a94196b5f721690d4ef124f0b604c5a22774f1 100644 (file)
@@ -429,6 +429,8 @@ void PRVM_Crash(void)
        if (prog == NULL)
                return;
 
+       prog->funcoffsets.SV_Shutdown = 0; // don't call SV_Shutdown on crash
+
        if( prog->depth > 0 )
        {
                Con_Printf("QuakeC crash report for %s:\n", PRVM_NAME);