A collection of hackfixes related to items.
This commit is contained in:
parent
312c433ed3
commit
00f150b832
11 changed files with 104 additions and 251 deletions
|
|
@ -27,7 +27,7 @@ extend Class SWWMHandler
|
|||
{
|
||||
if ( (gamestate != GS_LEVEL) || (players[consoleplayer].Health <= 0) || !(players[consoleplayer].mo is 'Demolitionist') )
|
||||
return;
|
||||
double maxval = players[consoleplayer].mo.FindInventory("Omnisight")?2.:1.;
|
||||
double maxval = level.allmap?2.:1.;
|
||||
double val = swwm_mm_zoom;
|
||||
if ( val >= 1. ) val = min(maxval,val+.5);
|
||||
else val = min(1.,val+.25);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue