1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-15 20:03:15 +02:00

fix passing coordinates of the status bar when triggering in-game console input

This commit is contained in:
Andrey Filipenkov
2022-09-29 13:24:23 +03:00
parent 593df25df5
commit 8c8394b6ed

View File

@@ -1129,7 +1129,7 @@ void CInGameConsole::textEdited(const SDL_TextEditingEvent & event)
void CInGameConsole::startEnteringText()
{
CSDL_Ext::startTextInput(&pos);
CSDL_Ext::startTextInput(&GH.statusbar->pos);
enteredText = "_";
if(GH.topInt() == adventureInt)