(29faa9c06) Reinstate charybdis monster events.

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:57:50 +02:00
parent 98224c6ec9
commit 0ab2f2ac69
5 changed files with 193 additions and 5 deletions
@@ -670,6 +670,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);