From 33aee54113dd82205978487354ad7157b775d270 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 4 Jan 2022 17:10:32 +0100 Subject: [PATCH] - RR: interpolate jaildoors and minecarts. --- source/games/duke/src/actors_lava.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/games/duke/src/actors_lava.cpp b/source/games/duke/src/actors_lava.cpp index 154f75894..0e33aa2f2 100644 --- a/source/games/duke/src/actors_lava.cpp +++ b/source/games/duke/src/actors_lava.cpp @@ -31,6 +31,7 @@ Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms #include "serializer.h" #include "savegamehelp.h" #include "dukeactor.h" +#include "interpolate.h" BEGIN_DUKE_NS @@ -163,6 +164,7 @@ void addjaildoor(int p1, int p2, int iht, int jlt, int p3, sectortype* j) jaildooropen[jaildoorcnt] = 0; jaildoordir[jaildoorcnt] = jlt; jaildoorsound[jaildoorcnt] = p3; + setsectinterpolate(j); jaildoorcnt++; } @@ -178,6 +180,7 @@ void addminecart(int p1, int p2, sectortype* i, int iht, int p3, sectortype* chi minecartopen[minecartcnt] = 1; minecartsound[minecartcnt] = p3; minecartchildsect[minecartcnt] = childsectnum; + setsectinterpolate(i); minecartcnt++; }