Use barrier_cast instead of static_cast

This commit is contained in:
Leonard 2015-08-31 13:04:40 +02:00
parent 86e9504d04
commit 0fa24ab82d

View file

@ -1109,8 +1109,7 @@ void pspdef_t::UpdateInterpolation(int player)
{
if (interpolation != NULL)
{
DInterpolation *pointer = interpolation;
static_cast<DPSpriteInterpolation *>(pointer)->UpdatePointer(player);
barrier_cast<DPSpriteInterpolation *>(interpolation)->UpdatePointer(player);
}
}