mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- floatified 2 updatesectorz calls.
This commit is contained in:
parent
138e200510
commit
975e08666c
1 changed files with 2 additions and 2 deletions
|
@ -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), §);
|
||||
updatesectorz(DVector3(pp->pos.XY(), ActorZOfBottom(pp->actor)), §);
|
||||
|
||||
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), §);
|
||||
updatesectorz(DVector3(pp->pos.XY(), ActorZOfBottom(pp->actor)), §);
|
||||
|
||||
if (SectorIsUnderwaterArea(sect))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue