mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-30 02:30:41 +00:00
- Blood: Repair some ROR regressions from 31fc39b051
.
Potentially addresses #87 and #88.
This commit is contained in:
parent
b06fe35c56
commit
f168373ecf
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue