summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 21:38:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 21:38:12 +0300
commitfb062d9f90d44e279ce02985c3f4f4335550cf87 (patch)
tree4ae1fec555e1f065018b2ac8d8650130c3060c40 /src/actions/commands.cpp
parent015a260c6444e74579401dfe41e39592b2201d36 (diff)
downloadplus-fb062d9f90d44e279ce02985c3f4f4335550cf87.tar.gz
plus-fb062d9f90d44e279ce02985c3f4f4335550cf87.tar.bz2
plus-fb062d9f90d44e279ce02985c3f4f4335550cf87.tar.xz
plus-fb062d9f90d44e279ce02985c3f4f4335550cf87.zip
Move chat command /all into actions.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 103248aa8..797c75edb 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -262,4 +262,14 @@ impHandler0(present)
return false;
}
+impHandler0(printAll)
+{
+ if (actorManager)
+ {
+ actorManager->printAllToChat();
+ return true;
+ }
+ return false;
+}
+
} // namespace Actions