mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-01 09:42:27 +00:00
- SpriteWarpToUnderwater + SpriteWarpToSurface
This commit is contained in:
parent
130028fa82
commit
5264c6540c
3 changed files with 23 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue