From aa7fd5d9b0caacd580fd59e3f93dff02a4007af5 Mon Sep 17 00:00:00 2001 From: Marisa the Magician Date: Tue, 20 May 2025 12:05:47 +0200 Subject: [PATCH] (Try to) reduce bullet trail perf hit for some hitscan weapons. --- language.version | 4 ++-- zscript/dlc/swwm_heavymahsheengun.zsc | 8 ++++++-- zscript/swwm_common_fx.zsc | 2 +- zscript/weapons/swwm_cbt.zsc | 5 ++++- zscript/weapons/swwm_shot.zsc | 7 +++++-- 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/language.version b/language.version index 4369b86de..4457ebcf8 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1217 \cu(mar 20 may 2025 12:05:32 CEST)\c-"; -SWWM_SHORTVER="\cw1.3pre r1217 \cu(2025-05-20 12:05:32)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1218 \cu(mar 20 may 2025 12:05:47 CEST)\c-"; +SWWM_SHORTVER="\cw1.3pre r1218 \cu(2025-05-20 12:05:47)\c-"; diff --git a/zscript/dlc/swwm_heavymahsheengun.zsc b/zscript/dlc/swwm_heavymahsheengun.zsc index bbb2fbc6e..78fcf4903 100644 --- a/zscript/dlc/swwm_heavymahsheengun.zsc +++ b/zscript/dlc/swwm_heavymahsheengun.zsc @@ -174,10 +174,14 @@ Class HeavyMahSheenGun : SWWMWeapon b.target = self; b.A_CheckTerrain(); } + Vector3 ppos; for ( int i=5; i