From 7dcf9b4738ce050ede19ea198b6eae537701644a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 19 Sep 2010 09:02:44 +0000 Subject: [PATCH] - fixed: The current level's statistics should not be updated when not actually playing. - added a STAT display for the game statistics info. SVN r2833 (trunk) --- src/statistics.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/statistics.cpp b/src/statistics.cpp index 03e9d7405..f12a458dc 100644 --- a/src/statistics.cpp +++ b/src/statistics.cpp @@ -400,6 +400,8 @@ static void StoreLevelStats() { unsigned int i; + if (gamestate != GS_LEVEL) return; + if (!(level.flags2&LEVEL2_NOSTATISTICS)) // don't consider maps that were excluded from statistics { for(i=0;i