diff --git a/Runtime/World/CActorModelParticles.cpp b/Runtime/World/CActorModelParticles.cpp index ef9c22117..fc2d17678 100644 --- a/Runtime/World/CActorModelParticles.cpp +++ b/Runtime/World/CActorModelParticles.cpp @@ -519,7 +519,7 @@ void CActorModelParticles::Update(float dt, CStateManager& mgr) { void CActorModelParticles::PointGenerator(void* ctx, const std::vector>& vn) { - reinterpret_cast(ctx)->GeneratePoints(vn); + static_cast(ctx)->GeneratePoints(vn); } void CActorModelParticles::SetupHook(TUniqueId uid) {