mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fixed centering of scenario information window
This commit is contained in:
parent
5a5aced67e
commit
3d30e04184
@ -3,6 +3,7 @@
|
||||
### GENERAL:
|
||||
* Fixed movement cost penalty from terrain
|
||||
* Fixed empty Black Market on game start
|
||||
* Fixed centering of scenario information window
|
||||
* Fixed blocked progress in Launcher on language detection failure
|
||||
* Launcher will now correctly handle selection of Data directory in H3 install
|
||||
|
||||
|
@ -26,6 +26,10 @@
|
||||
CScenarioInfoScreen::CScenarioInfoScreen()
|
||||
{
|
||||
OBJ_CONSTRUCTION_CAPTURING_ALL_NO_DISPOSE;
|
||||
pos.w = 800;
|
||||
pos.h = 600;
|
||||
pos = center();
|
||||
|
||||
localSi = new StartInfo(*LOCPLINT->cb->getStartInfo());
|
||||
localMi = new CMapInfo();
|
||||
localMi->mapHeader = std::unique_ptr<CMapHeader>(new CMapHeader(*LOCPLINT->cb->getMapHeader()));
|
||||
|
Loading…
Reference in New Issue
Block a user