Don't use inventory tokens for mapper-toggleable store/revive. Tokens are icky.
This commit is contained in:
parent
dc39f4a6fb
commit
a2855dfc9a
9 changed files with 31 additions and 32 deletions
|
|
@ -561,7 +561,7 @@ Class SWWMStatusBar : BaseStatusBar
|
|||
xx = int((ss.x-len)/2.);
|
||||
yy = ss.y/2.;
|
||||
Screen.DrawText(mSmallFont,Font.CR_WHITE,xx,yy,str,DTA_VirtualWidthF,ss.x,DTA_VirtualHeightF,ss.y,DTA_KeepRatio,true,DTA_Alpha,alph);
|
||||
if ( goner || CPlayer.mo.FindInventory("SWWMReviveDisabler") || !swwm_revive )
|
||||
if ( goner || hnd.gdat.disablerevive || !swwm_revive )
|
||||
return (1.-dimalph);
|
||||
alph = clamp((deadtimer-160)/60.,0.,1.);
|
||||
str = String.Format(StringTable.Localize("$SWWM_URDED3"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue