mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Fix combat log position
This commit is contained in:
parent
a512e0d58f
commit
de5616bb3b
@ -100,7 +100,9 @@ void CBattleConsole::scrollDown(ui32 by)
|
||||
|
||||
CBattleConsole::CBattleConsole(const Rect & position) : lastShown(-1)
|
||||
{
|
||||
pos = position;
|
||||
pos += position.topLeft();
|
||||
pos.w = position.w;
|
||||
pos.h = position.h;
|
||||
}
|
||||
|
||||
void CBattleConsole::clearMatching(const std::string & Text)
|
||||
|
Loading…
Reference in New Issue
Block a user