From f7f6c76a5db5d533e01c9302ff08a65b60d8e7ea Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 8 Oct 2015 19:12:53 -0400 Subject: [PATCH] fix typo in last commit --- src/update.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update.cpp b/src/update.cpp index 13b77ad3bd..ffe46d3e35 100644 --- a/src/update.cpp +++ b/src/update.cpp @@ -495,7 +495,7 @@ int Update::time_expired() if (max_wall < 0) return 0; int flag = 0; - if (timer->has_loop() && (max_wall > timer->get_wall(Timer::LOOP))) + if (timer->has_loop() && (max_wall > timer->get_wall(Timer::TOTAL))) flag = 1; // we have to make certain, that flag is set consistently.