From de997e62656c4a60e069b4fedf5b1b96882c7931 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Oct 2015 23:40:51 +0300 Subject: Add chat command /testinfo for output some debug parameters to log. --- src/actions/actions.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/actions/actions.cpp') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 4655c9833..288c866f0 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -1640,4 +1640,15 @@ impHandler0(clearDrop) return true; } +impHandler0(testInfo) +{ + if (actorManager) + { + logger->log("actors count: %d", static_cast( + actorManager->size())); + return true; + } + return false; +} + } // namespace Actions -- cgit v1.2.3-60-g2f50