mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- Remove the chasecam restriction that the player sprite must be visible. (When
crushed, the real player is turned invisible, defeating the death/chasecam.) SVN r3300 (trunk)
This commit is contained in:
parent
f51f4866e4
commit
307050d38d
1 changed files with 1 additions and 4 deletions
|
@ -773,10 +773,7 @@ void R_SetupFrame (AActor *actor)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player != NULL && gamestate != GS_TITLELEVEL &&
|
if (player != NULL && gamestate != GS_TITLELEVEL &&
|
||||||
((player->cheats & CF_CHASECAM) || (r_deathcamera && camera->health <= 0)) &&
|
((player->cheats & CF_CHASECAM) || (r_deathcamera && camera->health <= 0)))
|
||||||
(camera->RenderStyle.BlendOp != STYLEOP_None) &&
|
|
||||||
!(camera->renderflags & RF_INVISIBLE) &&
|
|
||||||
camera->sprite != SPR_TNT1)
|
|
||||||
{
|
{
|
||||||
// [RH] Use chasecam view
|
// [RH] Use chasecam view
|
||||||
P_AimCamera (camera, iview->nviewx, iview->nviewy, iview->nviewz, viewsector);
|
P_AimCamera (camera, iview->nviewx, iview->nviewy, iview->nviewz, viewsector);
|
||||||
|
|
Loading…
Reference in a new issue