summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrzys-h <krzys_h@interia.pl>2014-10-25 18:43:02 +0200
committerkrzys-h <krzys_h@interia.pl>2014-10-25 18:43:02 +0200
commit0d873ad43a62f7e54f59ea6b70f91089b0831981 (patch)
treea2adb6b0ba5919e2e3edd4945cd8166a7ca42ae3
parent26376c652d59de271147027bb5c365b22c2765c2 (diff)
downloadcolobot-0d873ad43a62f7e54f59ea6b70f91089b0831981.tar.gz
colobot-0d873ad43a62f7e54f59ea6b70f91089b0831981.tar.bz2
colobot-0d873ad43a62f7e54f59ea6b70f91089b0831981.zip
Added warning about restarting game in order to apply changes
issue #339
-rw-r--r--src/ui/maindialog.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index ede7453..26bfbbc 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -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;