- SpriteWarpToUnderwater + SpriteWarpToSurface

This commit is contained in:
Christoph Oelckers 2021-11-04 00:10:36 +01:00
parent 130028fa82
commit 5264c6540c
3 changed files with 23 additions and 25 deletions

View file

@ -1752,7 +1752,7 @@ void UpdatePlayerUnderSprite(PLAYERp pp)
sp->z = over_sp->z;
ChangeActorSect(pp->PlayerUnderActor, over_sp->sectnum);
SpriteWarpToUnderwater(sp);
SpriteWarpToUnderwater(pp->PlayerUnderActor);
// find z water level of the top sector
// diff between the bottom of the upper sprite and the water level