2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-17 07:21:43 +00:00

fix: do not clamp iw4 physpreset mass

This commit is contained in:
Jan Laupetin
2026-05-03 15:46:52 +02:00
parent c25feb3c35
commit 67bdb79654
2 changed files with 2 additions and 2 deletions
@@ -34,7 +34,7 @@ namespace
void CopyToPhysPresetInfo(const PhysPreset* physPreset, PhysPresetInfo* physPresetInfo)
{
physPresetInfo->mass = std::clamp(physPreset->mass * 1000.0f, 1.0f, 2000.0f);
physPresetInfo->mass = physPreset->mass;
physPresetInfo->bounce = physPreset->bounce;
if (std::isinf(physPreset->friction))