- Blood: Repair some ROR regressions from 31fc39b051.

Potentially addresses #87 and #88.
This commit is contained in:
Mitchell Richters 2020-09-22 18:14:43 +10:00
parent b06fe35c56
commit f168373ecf

View file

@ -352,6 +352,7 @@ void DrawMirrors(int x, int y, int z, fixed_t a, fixed_t horiz, int smooth, int
} }
case 1: case 1:
{ {
r_rorphase = 1;
int nSector = mirror[i].Kills; int nSector = mirror[i].Kills;
int bakCstat; int bakCstat;
if (viewPlayer >= 0) if (viewPlayer >= 0)
@ -378,10 +379,12 @@ void DrawMirrors(int x, int y, int z, fixed_t a, fixed_t horiz, int smooth, int
{ {
gPlayer[viewPlayer].pSprite->cstat = bakCstat; gPlayer[viewPlayer].pSprite->cstat = bakCstat;
} }
r_rorphase = 0;
return; return;
} }
case 2: case 2:
{ {
r_rorphase = 1;
int nSector = mirror[i].Kills; int nSector = mirror[i].Kills;
int bakCstat; int bakCstat;
if (viewPlayer >= 0) if (viewPlayer >= 0)
@ -410,7 +413,7 @@ void DrawMirrors(int x, int y, int z, fixed_t a, fixed_t horiz, int smooth, int
{ {
gPlayer[viewPlayer].pSprite->cstat = bakCstat; gPlayer[viewPlayer].pSprite->cstat = bakCstat;
} }
r_rorphase = 0;
return; return;
} }
} }