mitigate dynamic slope desynchs

Perform dynamic slope thinking before other thinkers.
This commit is contained in:
Alug committed 2024-07-10 19:28:44 +02:00
1 parent 6088fa5134
commit 970130e02b
2 files changed
+9 -3

No files matched your search

-3
View File
@@ -4980,9 +4980,6 @@ void P_UpdateSpecials(void)
// POINT LIMIT
P_CheckPointLimit();
// Dynamic slopeness
P_RunDynamicSlopes();
// ANIMATE TEXTURES
for (anim = anims; anim < lastanim; anim++)
{
+9
View File
@@ -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