Update HOUSE.CPP
Bugfix: Allow AI to grow if other player is bigger. (Was only if Human player is bigger)
This commit is contained in:
parent
d9e287e08b
commit
2c7fcd0200
1 changed files with 2 additions and 2 deletions
|
@ -5632,7 +5632,7 @@ int HouseClass::AI_Building(void)
|
|||
for (HousesType h = HOUSE_FIRST; h < HOUSE_COUNT; h++) {
|
||||
HouseClass const * hptr = HouseClass::As_Pointer(h);
|
||||
|
||||
if (hptr != NULL && hptr->IsActive && hptr->IsHuman && quant < hptr->CurBuildings) {
|
||||
if (hptr != NULL && hptr->IsActive && quant < hptr->CurBuildings) {
|
||||
quant = hptr->CurBuildings;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue