added prvm_offsets.h which centralizes field/global/function lookups for
[xonotic/darkplaces.git] / prvm_exec.c
index c958a31..8fb0d69 100644 (file)
@@ -523,7 +523,7 @@ void PRVM_Crash(void)
        if (prog == NULL)
                return;
 
-       prog->funcoffsets.SV_Shutdown = 0; // don't call SV_Shutdown on crash
+       PRVM_serverfunction(SV_Shutdown) = 0; // don't call SV_Shutdown on crash
 
        if( prog->depth > 0 )
        {