mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
Use barrier_cast instead of static_cast
This commit is contained in:
parent
86e9504d04
commit
0fa24ab82d
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue