(061c63299) Wall collider tuning

This commit is contained in:
Joonas Rikkonen
2019-04-01 22:53:41 +03:00
parent 43578f3bb2
commit 22372dfffe
3 changed files with 7 additions and 934 deletions
@@ -656,6 +656,13 @@ namespace Barotrauma
msg.Timer -= deltaTime;
msg.Pos += msg.Velocity * deltaTime;
}
foreach (GUIMessage msg in messages)
{
if (!msg.WorldSpace) continue;
msg.Timer -= deltaTime;
msg.Pos += msg.Velocity * deltaTime;
}
}
messages.RemoveAll(m => m.Timer <= 0.0f);