summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp10
-rw-r--r--src/actions/actions.h1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index a8a6e3c95..169727b2a 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1709,4 +1709,14 @@ impHandler0(resetGameModifiers)
return true;
}
+impHandler(barToChat)
+{
+ if (chatWindow)
+ {
+ chatWindow->addInputText(event.args);
+ return true;
+ }
+ return false;
+}
+
} // namespace Actions
diff --git a/src/actions/actions.h b/src/actions/actions.h
index a19b4964e..5581fee52 100644
--- a/src/actions/actions.h
+++ b/src/actions/actions.h
@@ -111,6 +111,7 @@ namespace Actions
decHandler(testInfo);
decHandler(craftKey);
decHandler(resetGameModifiers);
+ decHandler(barToChat);
} // namespace Actions
#undef decHandler