diff --git a/language.version b/language.version index 939ef8113..2c67326d7 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.23 r1 \cu(Fri 10 Jun 00:46:34 CEST 2022)\c-"; -SWWM_SHORTVER="\cw1.2.23 r1 \cu(2022-06-10 00:46:34)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.23 r2 \cu(Sun 12 Jun 13:12:37 CEST 2022)\c-"; +SWWM_SHORTVER="\cw1.2.23 r2 \cu(2022-06-12 13:12:37)\c-"; diff --git a/zscript/swwm_statichandler.zsc b/zscript/swwm_statichandler.zsc index ae524d2b0..6f2db39a6 100644 --- a/zscript/swwm_statichandler.zsc +++ b/zscript/swwm_statichandler.zsc @@ -167,24 +167,7 @@ Class SWWMStaticHandler : StaticEventHandler override void RenderOverlay( RenderEvent e ) { - // warn on use of incorrect render settings - // make sure to find the cvars, rather than use them directly - // just in case anything changes in the future and we end up - // breaking shit (not the first time a mod does that) - int yy = 8; - let backend = CVar.FindCVar('vid_preferbackend'); - let rmode = CVar.FindCVar('vid_rendermode'); - if ( backend && (backend.GetInt() > 1) ) - { - String str = "UNSUPPORTED VIDEO BACKEND - PLEASE SWITCH TO OPENGL OR VULKAN"; - Screen.DrawText(newsmallfont,Font.CR_RED,(Screen.GetWidth()-newsmallfont.StringWidth(str)*CleanXFac_1)/2,yy,str,DTA_CleanNoMove_1,true); - yy += 16*CleanYFac_1; - } - if ( rmode && (rmode.GetInt() != 4) ) - { - String str = "UNSUPPORTED RENDER MODE - PLEASE SWITCH TO HARDWARE RENDERING"; - Screen.DrawText(newsmallfont,Font.CR_RED,(Screen.GetWidth()-newsmallfont.StringWidth(str)*CleanXFac_1)/2,yy,str,DTA_CleanNoMove_1,true); - } + // silly april fools thing if ( (aprcheck == 2) && (gamestate == GS_LEVEL) ) { String str = "Unregistered Ultracam";