]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_null.c
sys: improve error and crash handling
[xonotic/darkplaces.git] / sys_null.c
index e2b9b0a0876e18834dffbb7bc545d52f98cac41b..3b1f356dac79051ee857fd687abb8951ad53cd57 100644 (file)
@@ -26,10 +26,10 @@ void Sys_SDL_Init(void)
 qbool sys_supportsdlgetticks = false;
 unsigned int Sys_SDL_GetTicks (void)
 {
-       Sys_Error("Called Sys_SDL_GetTicks on non-SDL target");
+       Sys_Abort("Called Sys_SDL_GetTicks on non-SDL target");
        return 0;
 }
 void Sys_SDL_Delay (unsigned int milliseconds)
 {
-       Sys_Error("Called Sys_SDL_Delay on non-SDL target");
+       Sys_Abort("Called Sys_SDL_Delay on non-SDL target");
 }