(99336eacb) Modified: Reduced video's textframe alpha

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:56:55 +02:00
parent 4215e97720
commit 7a5f589639
3 changed files with 191 additions and 1 deletions
@@ -663,6 +663,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);