- fixed weapon projection being broken after saving in Blood.

A classic case of having a function which performs too many different tasks.
This commit is contained in:
Christoph Oelckers 2020-01-25 15:27:46 +01:00
parent e8231f904f
commit c0b18d0356
1 changed files with 3 additions and 3 deletions

View File

@ -3408,9 +3408,8 @@ void viewDrawScreen(bool sceneonly)
renderDrawMasks();
gView->pSprite->cstat = bakCstat;
screen->FinishScene();
if (sceneonly) return;
if (v78 || bDelirium)
if ((v78 || bDelirium) && !sceneonly)
{
if (videoGetRenderMode() == REND_CLASSIC)
{
@ -3461,6 +3460,7 @@ void viewDrawScreen(bool sceneonly)
int nClipDist = gView->pSprite->clipdist << 2;
int ve8, vec, vf0, vf4;
GetZRange(gView->pSprite, &vf4, &vf0, &vec, &ve8, nClipDist, 0);
if (sceneonly) return;
#if 0
int tmpSect = nSectnum;
if ((vf0 & 0xc000) == 0x4000)
@ -3481,7 +3481,7 @@ void viewDrawScreen(bool sceneonly)
}
}
#endif
//PspTwoDSetter set;
if (gViewPos == 0)
{
if (cl_crosshair)