Added warning about restarting game in order to apply changes

issue #339
dev-mp
krzys-h 2014-10-25 18:43:02 +02:00
parent 26376c652d
commit 0d873ad43a
1 changed files with 8 additions and 0 deletions

View File

@ -1053,6 +1053,14 @@ void CMainDialog::ChangePhase(Phase phase)
pc = pw->CreateCheck(pos, ddim, -1, EVENT_INTERFACE_FULL);
pc->SetState(STATE_SHADOW);
pc->SetState(STATE_CHECK, m_setupFull);
#if !PLATFORM_LINUX
ddim.x = 0.9f;
ddim.y = 0.1f;
pos.x = 0.05f;
pos.y = 0.20f;
pl = pw->CreateLabel(pos, ddim, 0, EVENT_LABEL1, "The game will be restarted in order to apply changes. All unsaved progress will be lost.");
#endif
ddim.x = dim.x*6;
ddim.y = dim.y*1;