diff --git a/source/exhumed/src/object.cpp b/source/exhumed/src/object.cpp index 6583ddd6b..e7e306ee3 100644 --- a/source/exhumed/src/object.cpp +++ b/source/exhumed/src/object.cpp @@ -821,6 +821,7 @@ void FuncElev(int a, int, int nRun) short nSectorB = nSector; + StartInterpolation(nSector, Interp_Sect_Floorz); int nVal = LongSeek((int*)§or[nSector].floorz, nZVal, Elevator[nElev].field_6, Elevator[nElev].field_A); ebp = nVal; @@ -862,6 +863,7 @@ void FuncElev(int a, int, int nRun) int nZOffset = Elevator[nElev].nCurZOffset; int zVal = Elevator[nElev].zOffsets[nZOffset]; + StartInterpolation(nSector, Interp_Sect_Ceilingz); int nVal = LongSeek(&ceilZ, zVal, Elevator[nElev].field_6, Elevator[nElev].field_A); ebp = nVal;