Interpolate Dynamic Slopes

This commit is contained in:
Alug 2024-03-31 23:03:10 +02:00
parent 31a61fd5d7
commit bb305b6c92

View file

@ -22,7 +22,7 @@
#include "r_main.h"
#include "p_maputl.h"
#include "w_wad.h"
#include "r_fps.h"
pslope_t *slopelist = NULL;
UINT16 slopecount = 0;
@ -209,6 +209,9 @@ static inline void P_AddDynSlopeThinker (pslope_t* slope, dynplanetype_t type, l
th->type = type;
P_QueueSlopeThinker(&th->thinker);
// interpolation
R_CreateInterpolator_DynSlope(&th->thinker, slope);
}