2024-04-03 19:14:35 +03:00
|
|
|
From eafb5f1d01e3edd3035fc405de808b1a2e2151d2 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Bananymous <bananymousosq@gmail.com>
|
2024-04-04 00:40:51 +03:00
|
|
|
Date: Wed, 3 Apr 2024 21:39:22 +0300
|
|
|
|
Subject: [PATCH] Call exit() on I_Error()
|
2024-04-03 19:14:35 +03:00
|
|
|
|
|
|
|
---
|
|
|
|
doomgeneric/i_system.c | 4 ++++
|
|
|
|
1 file changed, 4 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/doomgeneric/i_system.c b/doomgeneric/i_system.c
|
|
|
|
index 5d00091..b71aa23 100644
|
|
|
|
--- a/doomgeneric/i_system.c
|
|
|
|
+++ b/doomgeneric/i_system.c
|
|
|
|
@@ -257,6 +257,8 @@ void I_Quit (void)
|
|
|
|
entry = entry->next;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ exit(0);
|
|
|
|
+
|
|
|
|
#if ORIGCODE
|
|
|
|
SDL_Quit();
|
|
|
|
|
|
|
|
--
|
|
|
|
2.44.0
|
|
|
|
|