mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
QUOTE_NVG_OFF-p->heat_on --> QUOTE_NVG_OFF-!!p->heat_on in sector.c.
Because: 1) It used to be like this; 2) guard against bad CON input. git-svn-id: https://svn.eduke32.com/eduke32@2378 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
0f933a8522
commit
0309ba3141
1 changed files with 1 additions and 1 deletions
|
@ -2596,7 +2596,7 @@ void G_HandleSharedKeys(int32_t snum)
|
||||||
P_UpdateScreenPal(p);
|
P_UpdateScreenPal(p);
|
||||||
p->inven_icon = 5;
|
p->inven_icon = 5;
|
||||||
A_PlaySound(NITEVISION_ONOFF,p->i);
|
A_PlaySound(NITEVISION_ONOFF,p->i);
|
||||||
P_DoQuote(QUOTE_NVG_OFF-p->heat_on,p);
|
P_DoQuote(QUOTE_NVG_OFF-!!p->heat_on,p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue