From 70248095e62d8374b1e7669b9ac6ce4a64144d09 Mon Sep 17 00:00:00 2001 From: titison Date: Fri, 9 Jan 2015 23:31:30 +0100 Subject: [PATCH] fix --- source/glest_game/type_instances/faction.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/glest_game/type_instances/faction.cpp b/source/glest_game/type_instances/faction.cpp index 1013c743..a8fd8a4d 100644 --- a/source/glest_game/type_instances/faction.cpp +++ b/source/glest_game/type_instances/faction.cpp @@ -1397,7 +1397,6 @@ void Faction::limitResourcesToStore() { const ResourceType *rt= r->getType(); if(rt->getClass() != rcStatic && (getResource(rt,false)->getAmount())>getStoreAmount(rt,false)) { r->setAmount(getStoreAmount(rt,false)-(getResource(rt,false)->getAmount()-r->getAmount())); - return; } } } else {