CGrappleArm: Convert reinterpret_cast to static_cast in PointGenerator()

It's permissible to use static_cast when converting from void* to
another type.
This commit is contained in:
Lioncash 2020-03-16 19:16:43 -04:00
parent 0cbfc6d169
commit 9063b16d36
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ void CGrappleArm::RenderXRayModel(const CStateManager& mgr, const zeus::CTransfo
} }
void CGrappleArm::PointGenerator(void* ctx, const std::vector<std::pair<zeus::CVector3f, zeus::CVector3f>>& vn) { void CGrappleArm::PointGenerator(void* ctx, const std::vector<std::pair<zeus::CVector3f, zeus::CVector3f>>& vn) {
reinterpret_cast<CRainSplashGenerator*>(ctx)->GeneratePoints(vn); static_cast<CRainSplashGenerator*>(ctx)->GeneratePoints(vn);
} }
void CGrappleArm::Render(const CStateManager& mgr, const zeus::CVector3f& pos, const CModelFlags& flags, void CGrappleArm::Render(const CStateManager& mgr, const zeus::CVector3f& pos, const CModelFlags& flags,