This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit 0d873ad43a62f7e54f59ea6b70f91089b0831981
Author: krzys-h <krzy...@interia.pl>
Date:   Sat Oct 25 18:43:02 2014 +0200

    Added warning about restarting game in order to apply changes
    
    issue #339
---
 src/ui/maindialog.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

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;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/colobot.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to