]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_modules.c
Q1BSP: fix misaligned memory access
[xonotic/darkplaces.git] / r_modules.c
index 96e33e2f4761fe5908e85aa9257bf37b4242f19d..c6c0419187d574c01a7a8685d4a785cf96757954 100644 (file)
@@ -36,7 +36,7 @@ void R_RegisterModule(const char *name, void(*start)(void), void(*shutdown)(void
                }
        }
        if (i >= MAXRENDERMODULES)
-               Sys_Error("R_RegisterModule: ran out of renderer module slots (%i)", MAXRENDERMODULES);
+               Sys_Abort("R_RegisterModule: ran out of renderer module slots (%i)", MAXRENDERMODULES);
        rendermodule[i].active = 0;
        rendermodule[i].name = name;
        rendermodule[i].start = start;
@@ -84,6 +84,7 @@ void R_Modules_Restart_f(cmd_state_t *cmd)
 {
        CL_StartVideo();
        Con_Print("Restarting renderer\n");
+       SCR_BeginLoadingPlaque(false);
        R_Modules_Shutdown();
        R_Modules_Start();
 }