From b034d9e059e61eef3f3996cc166bacdbab676e8d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 4 Jan 2021 21:51:11 +0100 Subject: [PATCH] - Exhumed: Interpolate doors. --- source/exhumed/src/object.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/exhumed/src/object.cpp b/source/exhumed/src/object.cpp index 24a384539..6583ddd6b 100644 --- a/source/exhumed/src/object.cpp +++ b/source/exhumed/src/object.cpp @@ -857,7 +857,7 @@ void FuncElev(int a, int, int nRun) { // loc_20FC3: int ceilZ = sector[nSector].ceilingz; - sectortype *var_28 = §or[nSector]; + sectortype *cursect = §or[nSector]; int nZOffset = Elevator[nElev].nCurZOffset; int zVal = Elevator[nElev].zOffsets[nZOffset]; @@ -911,7 +911,8 @@ void FuncElev(int a, int, int nRun) } } - var_28->ceilingz = ceilZ; + StartInterpolation(nSector, Interp_Sect_Ceilingz); + cursect->ceilingz = ceilZ; } // maybe this doesn't go here?