mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-03-30 23:12:06 +00:00
Interpolate Dynamic Slopes
This commit is contained in:
parent
31a61fd5d7
commit
bb305b6c92
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue