This makes it easier to find actions at which the time stamp and current time 
does not mach.
---
 src/include/action_handler.cpp |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/include/action_handler.cpp b/src/include/action_handler.cpp
index 26037c7..337bee5 100644
--- a/src/include/action_handler.cpp
+++ b/src/include/action_handler.cpp
@@ -1044,9 +1044,11 @@ bool ActionHandler::ExecActionsForOneFrame()
     if (a->GetType() == Action::ACTION_GAME_CALCULATE_FRAME)
       frame_complete = true;
 
-    MSG_DEBUG("action_time", "-> Action %s (action time: %u, time: %u)",
-              GetActionName(a->GetType()).c_str(), a->GetTimestamp(),
-              Time::GetInstance()->Read());
+    if (!a->IsFrameLess()) {
+      MSG_DEBUG("action_time", "-> Action %s (action time: %u, time: %u)",
+                GetActionName(a->GetType()).c_str(), a->GetTimestamp(),
+                Time::GetInstance()->Read());
+    }
 
     Exec (a);
 
-- 
1.6.0.4


_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à