diff --git a/source/core/rendering/scene/hw_drawinfo.cpp b/source/core/rendering/scene/hw_drawinfo.cpp index 19ec7a2a7..7df71ce99 100644 --- a/source/core/rendering/scene/hw_drawinfo.cpp +++ b/source/core/rendering/scene/hw_drawinfo.cpp @@ -318,13 +318,11 @@ void HWDrawInfo::DispatchSprites() if (actor->sprext.renderflags & SPREXT_AWAY1) { - tspr->add_int_x(bcos(tspr->int_ang(), -13)); - tspr->add_int_y(bsin(tspr->int_ang(), -13)); + tspr->pos.XY() += tspr->angle.ToVector() * 0.125; } else if (actor->sprext.renderflags & SPREXT_AWAY2) { - tspr->add_int_x(-bcos(tspr->int_ang(), -13)); - tspr->add_int_y(-bsin(tspr->int_ang(), -13)); + tspr->pos.XY() -= tspr->angle.ToVector() * 0.125; } switch (tspr->cstat & CSTAT_SPRITE_ALIGNMENT_MASK)