mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
Make sprite shadows ignore float bob
This commit is contained in:
parent
8b5847d4a2
commit
4f034950be
1 changed files with 1 additions and 2 deletions
|
@ -800,9 +800,8 @@ void HWSprite::Process(HWDrawInfo *di, AActor* thing, sector_t * sector, area_t
|
||||||
{
|
{
|
||||||
z = thing->floorz;
|
z = thing->floorz;
|
||||||
}
|
}
|
||||||
|
|
||||||
// [RH] Make floatbobbing a renderer-only effect.
|
// [RH] Make floatbobbing a renderer-only effect.
|
||||||
if (thing->flags2 & MF2_FLOATBOB)
|
else if (thing->flags2 & MF2_FLOATBOB)
|
||||||
{
|
{
|
||||||
float fz = thing->GetBobOffset(vp.TicFrac);
|
float fz = thing->GetBobOffset(vp.TicFrac);
|
||||||
z += fz;
|
z += fz;
|
||||||
|
|
Loading…
Reference in a new issue