diff --git a/src/p_spec.c b/src/p_spec.c index ddf938330..4923a9f6e 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -4980,9 +4980,6 @@ void P_UpdateSpecials(void) // POINT LIMIT P_CheckPointLimit(); - // Dynamic slopeness - P_RunDynamicSlopes(); - // ANIMATE TEXTURES for (anim = anims; anim < lastanim; anim++) { diff --git a/src/p_tick.c b/src/p_tick.c index 183c42a4b..379451a92 100644 --- a/src/p_tick.c +++ b/src/p_tick.c @@ -32,6 +32,9 @@ // Object place #include "m_cheat.h" +// Dynamic slopes +#include "p_slopes.h" + tic_t leveltime; // @@ -676,6 +679,9 @@ void P_Ticker(boolean run) if (run) { + // Dynamic slopeness + P_RunDynamicSlopes(); + PS_START_TIMING(ps_thinkertime); P_RunThinkers(); PS_STOP_TIMING(ps_thinkertime); @@ -892,6 +898,9 @@ void P_PreTicker(INT32 frames) memcpy(&players[i].cmd, &temptic, sizeof(ticcmd_t)); } + // Dynamic slopeness + P_RunDynamicSlopes(); + P_RunThinkers(); // Run any "after all the other thinkers" stuff