summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp10
-rw-r--r--src/actions/commands.h1
2 files changed, 11 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
diff --git a/src/actions/commands.h b/src/actions/commands.h
index c978cb57b..bd9a7148c 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -36,6 +36,7 @@ namespace Actions
decHandler(chatBlackList);
decHandler(chatEnemy);
decHandler(chatErase);
+ decHandler(present);
} // namespace Actions
#undef decHandler