[colobot] 24/100: Objects outside BuildType list cannot be build anymore

Didier Raboud odyx at moszumanska.debian.org
Thu Jun 1 18:10:15 UTC 2017


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

odyx pushed a commit to branch debian/master
in repository colobot.

commit 5dc38f15262b96a7b14290cd93e341b82a55d83f
Author: tomangelo2 <tomangelo at wp.pl>
Date:   Mon Dec 5 14:16:11 2016 +0100

    Objects outside BuildType list cannot be build anymore
    
    Fix issue #863
---
 src/level/robotmain.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp
index cfb98b4..b1be119 100644
--- a/src/level/robotmain.cpp
+++ b/src/level/robotmain.cpp
@@ -5638,7 +5638,7 @@ bool CRobotMain::IsBuildingEnabled(ObjectType type)
     if(type == OBJECT_PARA) return IsBuildingEnabled(BUILD_PARA);
     if(type == OBJECT_DESTROYER) return IsBuildingEnabled(BUILD_DESTROYER);
 
-    return true;
+    return false;
 }
 
 bool CRobotMain::IsResearchEnabled(ResearchType type)

-- 
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