diff --git a/REDALERT/HOUSE.CPP b/REDALERT/HOUSE.CPP index a228ab6..47caca2 100644 --- a/REDALERT/HOUSE.CPP +++ b/REDALERT/HOUSE.CPP @@ -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; } } @@ -8170,4 +8170,4 @@ void HouseClass::Free_Unit_Trackers(void) delete TotalCrates; TotalCrates = NULL; } -} \ No newline at end of file +}