Browse Source

Fix crash due to text selection in chat box

pull/8024/head
staphen 10 months ago committed by Stephen C. Wills
parent
commit
ae5b49ce93
  1. 1
      Source/control.cpp

1
Source/control.cpp

@ -1692,6 +1692,7 @@ void ResetChat()
{ {
ChatFlag = false; ChatFlag = false;
SDL_StopTextInput(); SDL_StopTextInput();
ChatCursor = {};
ChatInputState = std::nullopt; ChatInputState = std::nullopt;
sgbPlrTalkTbl = 0; sgbPlrTalkTbl = 0;
RedrawEverything(); RedrawEverything();

Loading…
Cancel
Save