diff --git a/src/r_data/r_interpolate.cpp b/src/r_data/r_interpolate.cpp index 2acbe2140..46ac30789 100644 --- a/src/r_data/r_interpolate.cpp +++ b/src/r_data/r_interpolate.cpp @@ -1109,8 +1109,7 @@ void pspdef_t::UpdateInterpolation(int player) { if (interpolation != NULL) { - DInterpolation *pointer = interpolation; - static_cast(pointer)->UpdatePointer(player); + barrier_cast(interpolation)->UpdatePointer(player); } }