Add current, max and average velocity as stat (#912)

* Add current, max and average velocity as stat
This commit is contained in:
hdr88 2019-08-28 20:33:07 +02:00 committed by Christoph Oelckers
commit 554eb1c813
4 changed files with 19 additions and 0 deletions

View file

@ -264,6 +264,8 @@ void FLevelLocals::ClearLevelData()
total_monsters = total_items = total_secrets =
killed_monsters = found_items = found_secrets = 0;
max_velocity = avg_velocity = 0;
for (int i = 0; i < 4; i++)
{
UDMFKeys[i].Clear();