- 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:
Randy Heit 2011-10-03 00:56:01 +00:00
parent f51f4866e4
commit 307050d38d
1 changed files with 1 additions and 4 deletions

View File

@ -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);