Skip to content

Commit

Permalink
Make objerror fatal in Fitz-derived ports
Browse files Browse the repository at this point in the history
  • Loading branch information
4LT committed Dec 4, 2023
1 parent 064d376 commit 90e6166
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aop.qc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
__wrap void(string msg) objerror = {
prior(msg);
error("Fatal objerror call\n");
}
2 changes: 2 additions & 0 deletions progs.src
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ grenade_fix.qc
squads.qc
ai_entity.qc
spawner.qc

aop.qc // must come last

0 comments on commit 90e6166

Please sign in to comment.