mirror of
https://github.com/glest/glest-source.git
synced 2025-09-03 21:12:33 +02:00
bugfix to handle food decrements properly for humans
This commit is contained in:
@@ -315,7 +315,7 @@ void Faction::applyCostsOnInterval(){
|
||||
}
|
||||
|
||||
//decrement consumables
|
||||
if((getCpuControl() == true) ||
|
||||
if((getCpuControl() == false) ||
|
||||
(getCpuControl() == true && scriptManager->getPlayerModifiers(this->thisFaction)->getAiEnabled() == false))
|
||||
{
|
||||
for(int j=0; j<getUnitCount(); ++j){
|
||||
|
Reference in New Issue
Block a user