summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 21:27:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 21:27:08 +0300
commitb030143a03ab3d65225f8c2351469b2e8daa0e94 (patch)
treed94c785b3820b3c85990c6164d32c87b29447a24 /src/actions/commands.cpp
parent0ae262d137e24c44064f59102ff6b72b19c60b71 (diff)
downloadplus-b030143a03ab3d65225f8c2351469b2e8daa0e94.tar.gz
plus-b030143a03ab3d65225f8c2351469b2e8daa0e94.tar.bz2
plus-b030143a03ab3d65225f8c2351469b2e8daa0e94.tar.xz
plus-b030143a03ab3d65225f8c2351469b2e8daa0e94.zip
Move chat command /present 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 1ec9f03c7..103248aa8 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -252,4 +252,14 @@ impHandler(chatEnemy)
return true;
}
+impHandler0(present)
+{
+ if (chatWindow)
+ {
+ chatWindow->doPresent();
+ return true;
+ }
+ return false;
+}
+
} // namespace Actions