mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 09:26:09 +00:00
Windows fixes
This commit is contained in:
@@ -26,10 +26,11 @@ CSpankWeed::CSpankWeed(TUniqueId uid, std::string_view name, const CEntityInfo&
|
||||
float scale = modelScale.magnitude() / std::sqrt(3.f);
|
||||
|
||||
ModelData()->SetScale(zeus::CVector3f(scale));
|
||||
zeus::simd_floats scaleF(modelScale.mSimd);
|
||||
SpankLog.report(logvisor::Level::Warning,
|
||||
"WARNING: Non-uniform scale (%.2f, %.2f, %.2f) applied to Spank Weed"
|
||||
"...changing scale to (%.2f, %.2f, %.2f)\n",
|
||||
modelScale.x(), modelScale.y(), modelScale.z(), scale, scale, scale);
|
||||
scaleF[0], scaleF[1], scaleF[2], scale, scale, scale);
|
||||
}
|
||||
CMaterialList list = GetMaterialFilter().GetExcludeList();
|
||||
list.Add(EMaterialTypes::Character);
|
||||
@@ -320,4 +321,4 @@ void CSpankWeed::KnockBack(const zeus::CVector3f& backVec, CStateManager& mgr, c
|
||||
float CSpankWeed::GetPlayerDistance(CStateManager& mgr) const {
|
||||
return (mgr.GetPlayer().GetTranslation() - x5a8_lockonTarget).magSquared();
|
||||
}
|
||||
} // namespace urde::MP1
|
||||
} // namespace urde::MP1
|
||||
|
||||
Reference in New Issue
Block a user