diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 21:38:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 21:38:12 +0300 |
commit | fb062d9f90d44e279ce02985c3f4f4335550cf87 (patch) | |
tree | 4ae1fec555e1f065018b2ac8d8650130c3060c40 /src/actions/commands.cpp | |
parent | 015a260c6444e74579401dfe41e39592b2201d36 (diff) | |
download | manaplus-fb062d9f90d44e279ce02985c3f4f4335550cf87.tar.gz manaplus-fb062d9f90d44e279ce02985c3f4f4335550cf87.tar.bz2 manaplus-fb062d9f90d44e279ce02985c3f4f4335550cf87.tar.xz manaplus-fb062d9f90d44e279ce02985c3f4f4335550cf87.zip |
Move chat command /all into actions.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 10 |
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 |