From 5dc38f15262b96a7b14290cd93e341b82a55d83f Mon Sep 17 00:00:00 2001 From: tomangelo2 Date: Mon, 5 Dec 2016 14:16:11 +0100 Subject: [PATCH] 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 cfb98b4e..b1be1192 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)