From 47722e58a9b72659f932f96ee3450fa73eab57ea Mon Sep 17 00:00:00 2001 From: Marisa the Magician Date: Wed, 5 Mar 2025 20:34:06 +0100 Subject: [PATCH] Two warnings in SWWMDialogues.StartSeq should be vm aborts instead. --- language.version | 4 ++-- zscript/hud/swwm_dialogue.zsc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/language.version b/language.version index 6c481ef52..3b8a3fab0 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1188 \cu(mié 26 feb 2025 14:20:26 CET)\c-"; -SWWM_SHORTVER="\cw1.3pre r1188 \cu(2025-02-26 14:20:26)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1189 \cu(mié 05 mar 2025 20:34:06 CET)\c-"; +SWWM_SHORTVER="\cw1.3pre r1189 \cu(2025-03-05 20:34:06)\c-"; diff --git a/zscript/hud/swwm_dialogue.zsc b/zscript/hud/swwm_dialogue.zsc index 4bd0cbbc2..9215788e1 100644 --- a/zscript/hud/swwm_dialogue.zsc +++ b/zscript/hud/swwm_dialogue.zsc @@ -7,7 +7,7 @@ Class SWWMDialogues abstract { if ( dlg == "" ) { - if ( developer >= 2 ) Console.Printf("StartSeq: bogus call with empty dialogue name, check your code."); + ThrowAbortException("bogus call to StartSeq with empty dialogue name, check your code."); return; } // load the lump for parsing @@ -39,7 +39,7 @@ Class SWWMDialogues abstract } if ( cur == -1 ) { - if ( developer >= 2 ) Console.Printf("ProcessDlg: sequence '%s' not found",dlg); + ThrowAbortException("dialogue sequence '%s' not found",dlg); return; } // start parsing from here