]> git.0x19.co - doomgeneric-snom360/commitdiff
I_Error exits instead of infinite loop
authorozkl <ozkl@users.noreply.github.com>
Sun, 24 Aug 2025 06:34:52 +0000 (09:34 +0300)
committerozkl <ozkl@users.noreply.github.com>
Sun, 24 Aug 2025 06:34:52 +0000 (09:34 +0300)
doomgeneric/i_system.c

index 65ab39dca2a9a5de94f2ec78f7c55de61dcfd1d8..53ab2c945a8d80457c1021abe7b855c2decf0293 100644 (file)
@@ -466,9 +466,7 @@ void I_Error (char *error, ...)
 
     exit(-1);
 #else
-    while (true)
-    {
-    }
+    exit(-1);
 #endif
 }