From a53ba3e287ef853c4f5de241c8b489a31f6ed84a Mon Sep 17 00:00:00 2001 From: Marisa the Magician Date: Mon, 18 Jul 2022 18:35:32 +0200 Subject: [PATCH] Fix misaligned graphics when double-stacking Biospark. --- language.version | 4 ++-- zscript/weapons/swwm_weapons_hud.zsc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/language.version b/language.version index 1b63732ae..c860c5542 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r187 \cu(Sun 17 Jul 13:04:50 CEST 2022)\c-"; -SWWM_SHORTVER="\cw1.3pre r187 \cu(2022-07-17 13:04:50)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r188 \cu(Mon 18 Jul 18:35:32 CEST 2022)\c-"; +SWWM_SHORTVER="\cw1.3pre r188 \cu(2022-07-18 18:35:32)\c-"; diff --git a/zscript/weapons/swwm_weapons_hud.zsc b/zscript/weapons/swwm_weapons_hud.zsc index b82fafcd9..97b56bca8 100644 --- a/zscript/weapons/swwm_weapons_hud.zsc +++ b/zscript/weapons/swwm_weapons_hud.zsc @@ -202,7 +202,7 @@ extend Class Sparkster int yy = 24; for ( int i=0; i<8; i++ ) { - if ( clipcount <= i ) Screen.DrawTexture(RoundTex[0],false,bx-4,by-yy,DTA_VirtualWidthF,ss.x,DTA_VirtualHeightF,ss.y,DTA_KeepRatio,true,DTA_Desaturate,255,DTA_ColorOverlay,Color(160,0,0,0)); + if ( clipcount <= i ) Screen.DrawTexture(RoundTex[0],false,bx-5,by-yy,DTA_VirtualWidthF,ss.x,DTA_VirtualHeightF,ss.y,DTA_KeepRatio,true,DTA_Desaturate,255,DTA_ColorOverlay,Color(160,0,0,0)); else { bRed = ((i>=4)&&(clipcount<6)||(i<4)&&(clipcount<2));