mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Fix formatting
This commit is contained in:
@@ -55,7 +55,7 @@ private:
|
|||||||
/// current text entered via in-game console, takes priority over both log entries and hover text
|
/// current text entered via in-game console, takes priority over both log entries and hover text
|
||||||
std::string consoleText;
|
std::string consoleText;
|
||||||
|
|
||||||
/// if true then we are currently entering console tex
|
/// if true then we are currently entering console text
|
||||||
bool enteringText;
|
bool enteringText;
|
||||||
public:
|
public:
|
||||||
BattleConsole(const Rect & position);
|
BattleConsole(const Rect & position);
|
||||||
|
|||||||
@@ -428,7 +428,7 @@ void CGStatusBar::init()
|
|||||||
|
|
||||||
void CGStatusBar::clickLeft(tribool down, bool previousState)
|
void CGStatusBar::clickLeft(tribool down, bool previousState)
|
||||||
{
|
{
|
||||||
if(!down && onClick )
|
if(!down && onClick)
|
||||||
{
|
{
|
||||||
if(LOCPLINT && LOCPLINT->cingconsole->active)
|
if(LOCPLINT && LOCPLINT->cingconsole->active)
|
||||||
LOCPLINT->cingconsole->startEnteringText();
|
LOCPLINT->cingconsole->startEnteringText();
|
||||||
|
|||||||
Reference in New Issue
Block a user