- floatified 2 updatesectorz calls.

This commit is contained in:
Christoph Oelckers 2022-08-31 19:01:32 +02:00
parent 138e200510
commit 975e08666c

View file

@ -2912,7 +2912,7 @@ void StackedWaterSplash(PLAYER* pp)
{
auto sect = pp->cursector;
updatesectorz(pp->int_ppos().X, pp->int_ppos().Y, int_ActorZOfBottom(pp->actor), &sect);
updatesectorz(DVector3(pp->pos.XY(), ActorZOfBottom(pp->actor)), &sect);
if (SectorIsUnderwaterArea(sect))
{
@ -3754,7 +3754,7 @@ int PlayerCanDiveNoWarp(PLAYER* pp)
{
auto sect = pp->cursector;
updatesectorz(pp->int_ppos().X, pp->int_ppos().Y, int_ActorZOfBottom(pp->actor), &sect);
updatesectorz(DVector3(pp->pos.XY(), ActorZOfBottom(pp->actor)), &sect);
if (SectorIsUnderwaterArea(sect))
{