raze/source/games/duke
Mitchell Richters 9a17d33579 - Duke: Ensure spawned player actor has view height baked in up until the first getzrange() call.
* The original game spawning the player's sprite/actor would set the sprite's pos with the Z matching the player's, which had a height offset already applied.
* This baked in height offset was carried through up until the `SetActor()` call in `processinput()`, where the original game would then strip off `gs.playerheight`.
* This baked in height offset within the actor is critical on the first tic for pre-activated elevators on level spawn to function right, such as E1L2 and E2L3.
* Properly setting the player actor's Z immediately after the initial `getzrange()` call, but before other functions like `movement()`, etc further down in `processinput()` is the best spot.
* Fixes #870.
2023-03-16 22:15:11 +11:00
..
src - Duke: Ensure spawned player actor has view height baked in up until the first getzrange() call. 2023-03-16 22:15:11 +11:00
all.cpp - moved the shadow creation code out of animatesprites into a common subfunction. 2022-12-11 19:43:55 +01:00
all_d.cpp - moved all font setup out of the C++ code. 2021-05-31 21:20:31 +02:00
all_r.cpp - moved all font setup out of the C++ code. 2021-05-31 21:20:31 +02:00