This commit is contained in:
Mari the Deer 2021-03-08 12:30:31 +01:00
commit 16a7daaa20
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r336 \cu(Mon 8 Mar 12:05:08 CET 2021)\c-";
SWWM_SHORTVER="\cw0.9.11b-pre r336 \cu(2021-03-08 12:05:08)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r337 \cu(Mon 8 Mar 12:30:31 CET 2021)\c-";
SWWM_SHORTVER="\cw0.9.11b-pre r337 \cu(2021-03-08 12:30:31)\c-";

View file

@ -47,8 +47,8 @@ Class SWWMStaticHandler : StaticEventHandler
SWWMHandler.ClearAllShaders(players[consoleplayer]);
// force a reset of the minimap zoom in case it's set beyond safe levels
double mmz = swwm_mm_zoom;
if ( players[consoleplayer].mo && players[consoleplayer].mo.FindInventory("Omnisight") && (mmz > 2.) ) mmz = 2.;
else if ( mmz > 1. ) mmz = 1.;
if ( players[consoleplayer].mo && players[consoleplayer].mo.FindInventory("Omnisight") && (mmz >= 2.) ) mmz = 2.;
else if ( mmz >= 1. ) mmz = 1.;
else mmz = .5;
CVar.FindCVar('swwm_mm_zoom').SetFloat(mmz);
if ( !e.IsSaveGame ) return;