fix LoadElevatorThinker interp oopsie

This commit is contained in:
Alug committed 2025-08-06 00:12:34 +02:00
1 parent ad1b1eabe4
commit bd53786887
1 file changed
+4 -1
+4 -1
View File
@@ -2414,7 +2414,10 @@ static void LoadElevatorThinker(savebuffer_t *save, actionf_p1 thinker, UINT8 fl
P_AddThinker(&ht->thinker);
// interpolation
R_CreateInterpolator_SectorPlane(&ht->thinker, ht->sector, (floorOrCeiling & 2));
if (floorOrCeiling & 2)
R_CreateInterpolator_SectorPlane(&ht->thinker, ht->sector, true);
if (floorOrCeiling & 1)
R_CreateInterpolator_SectorPlane(&ht->thinker, ht->sector, false);
}
//