mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 21:20:39 +00:00
- Blood: Fixed choking hand with new renderer.
This gets directed to the weapon 3D drawer, but for that it was processed too late.
This commit is contained in:
parent
a23124a201
commit
e64a6f7e30
2 changed files with 7 additions and 6 deletions
|
@ -172,6 +172,13 @@ void hudDraw(PLAYER* gView, sectortype* pSector, double bobx, double boby, doubl
|
|||
drawElement(0, 237, 2358, 1, 0, 1, -1);
|
||||
drawElement(320, 237, 2358, 1, 1, 1, 1);
|
||||
}
|
||||
|
||||
int zn = ((gView->zWeapon - gView->zView - (12 << 8)) >> 7) + 220;
|
||||
PLAYER* pPSprite = &gPlayer[gMe->actor->spr.type - kDudePlayer1];
|
||||
if (gMe->actor->IsPlayerActor() && pPSprite->hand == 1)
|
||||
{
|
||||
gChoke.animateChoke(160, zn, (int)gInterpolate);
|
||||
}
|
||||
}
|
||||
|
||||
END_BLD_NS
|
||||
|
|
|
@ -827,12 +827,6 @@ void viewDrawScreen(bool sceneonly)
|
|||
DrawMap(gView->actor);
|
||||
}
|
||||
UpdateStatusBar();
|
||||
int zn = ((gView->zWeapon - gView->zView - (12 << 8)) >> 7) + 220;
|
||||
PLAYER* pPSprite = &gPlayer[gMe->actor->spr.type - kDudePlayer1];
|
||||
if (gMe->actor->IsPlayerActor() && pPSprite->hand == 1)
|
||||
{
|
||||
gChoke.animateChoke(160, zn, (int)gInterpolate);
|
||||
}
|
||||
|
||||
viewDrawAimedPlayerName();
|
||||
if (paused)
|
||||
|
|
Loading…
Reference in a new issue