mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
- SW: automatic ->sector() replacements (lots of them)
This commit is contained in:
parent
5b87370b5e
commit
4266edfa04
21 changed files with 204 additions and 204 deletions
|
@ -1758,7 +1758,7 @@ void UpdatePlayerUnderSprite(PLAYERp pp)
|
|||
zdiff = SPRITEp_BOS(over_sp) - water_level_z;
|
||||
|
||||
// add diff to ceiling
|
||||
sp->z = sector[sp->sectnum].ceilingz + zdiff;
|
||||
sp->z = sp->sector()->ceilingz + zdiff;
|
||||
|
||||
u->State = over_u->State;
|
||||
u->Rot = over_u->Rot;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue