mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Add gModernMap guard
This commit is contained in:
parent
bfea07570a
commit
5a087b1768
1 changed files with 1 additions and 1 deletions
|
@ -1928,7 +1928,7 @@ void WeaponProcess(PLAYER *pPlayer) {
|
|||
|
||||
pPlayer->flashEffect = ClipLow(pPlayer->flashEffect - 1, 0);
|
||||
|
||||
if (gQavScene[pPlayer->nPlayer].index >= 0) {
|
||||
if (gModernMap && gQavScene[pPlayer->nPlayer].index >= 0) {
|
||||
|
||||
int nIndex = gQavScene[pPlayer->nPlayer].index;
|
||||
if (sprite[nIndex].extra >= 0 && pPlayer->pXSprite->health > 0) {
|
||||
|
|
Loading…
Reference in a new issue