diff --git a/apps/openmw/mwmp/GUIController.cpp b/apps/openmw/mwmp/GUIController.cpp index 80123b513..3dda6dc80 100644 --- a/apps/openmw/mwmp/GUIController.cpp +++ b/apps/openmw/mwmp/GUIController.cpp @@ -211,6 +211,11 @@ bool mwmp::GUIController::pressedKey(int key) return false; } +void mwmp::GUIController::changeChatMode() +{ + mChat->pressedChatMode(); +} + bool mwmp::GUIController::getChatEditState() { return mChat->editState; diff --git a/apps/openmw/mwmp/GUIController.hpp b/apps/openmw/mwmp/GUIController.hpp index ccd55bb1e..44dedc4af 100644 --- a/apps/openmw/mwmp/GUIController.hpp +++ b/apps/openmw/mwmp/GUIController.hpp @@ -45,11 +45,13 @@ namespace mwmp void showDialogList(const BasePlayer::GUIMessageBox &guiMessageBox); - bool getChatEditState(); - /// Returns 0 if there was no events bool pressedKey(int key); + void changeChatMode(); + + bool getChatEditState(); + void update(float dt); void processCustomMessageBoxInput(int pressedButton);