From 90e6166c4f46370fc6bf75254a3cb1d8f6688eab Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 3 Dec 2023 19:53:16 -0500 Subject: [PATCH] Make objerror fatal in Fitz-derived ports --- aop.qc | 4 ++++ progs.src | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 aop.qc diff --git a/aop.qc b/aop.qc new file mode 100644 index 0000000..672bc09 --- /dev/null +++ b/aop.qc @@ -0,0 +1,4 @@ +__wrap void(string msg) objerror = { + prior(msg); + error("Fatal objerror call\n"); +} diff --git a/progs.src b/progs.src index 2e1ffe6..09f13cd 100644 --- a/progs.src +++ b/progs.src @@ -46,3 +46,5 @@ grenade_fix.qc squads.qc ai_entity.qc spawner.qc + +aop.qc // must come last