[colobot] 119/390: But do 182d5206a8dcdbf112e5e2099a71c8dc82b9ffa1 only on Windows, since it works correctly on Linux

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:21:36 UTC 2015


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

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

commit fdbc4080c7c2ad838392f9b3228b4b44a9bb66af
Author: krzys-h <krzys_h at interia.pl>
Date:   Sat Oct 25 17:28:30 2014 +0200

    But do 182d5206a8dcdbf112e5e2099a71c8dc82b9ffa1 only on Windows, since it works correctly on Linux
---
 src/ui/maindialog.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index e553d69..0ab9085 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -968,7 +968,9 @@ void CMainDialog::ChangePhase(Phase phase)
         pb->SetState(STATE_SHADOW);
         pb->SetState(STATE_CARD);
         pb->SetState(STATE_CHECK, (m_phase == PHASE_SETUPd || m_phase == PHASE_SETUPds));
+        #if PLATFORM_WINDOWS
         pb->SetState(STATE_ENABLE, !m_bSimulSetup);
+        #endif
 
         pos.x += ddim.x+0.01f;
         pb = pw->CreateButton(pos, ddim, -1, EVENT_INTERFACE_SETUPg);

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



More information about the Pkg-games-commits mailing list