summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp11
-rw-r--r--src/actions/actions.h1
2 files changed, 12 insertions, 0 deletions
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<int>(
+ actorManager->size()));
+ return true;
+ }
+ return false;
+}
+
} // namespace Actions
diff --git a/src/actions/actions.h b/src/actions/actions.h
index f2407f936..c26ef3af8 100644
--- a/src/actions/actions.h
+++ b/src/actions/actions.h
@@ -108,6 +108,7 @@ namespace Actions
decHandler(unprotectItem);
decHandler(kick);
decHandler(clearDrop);
+ decHandler(testInfo);
} // namespace Actions
#undef decHandler