Skip to content

Commit 4d00950

Browse files
tore29OmniBlade
authored andcommitted
Fixes the issue preventing the AI from building vehicles in skirmish
1 parent 2d8eb18 commit 4d00950

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tiberiandawn/scenarioini.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,8 @@ static void Create_Units(void)
17011701
/*---------------------------------------------------------------------
17021702
Set the house's max # units (this is used in the Mission_Timed_Hunt())
17031703
---------------------------------------------------------------------*/
1704-
hptr->MaxUnit = MPlayerUnitCount * scaleval;
1704+
// Disable this as it will force MaxUnit to 10 preventing AI from building vehicles in skirmish (Tore)
1705+
//hptr->MaxUnit = MPlayerUnitCount * scaleval;
17051706

17061707
/*---------------------------------------------------------------------
17071708
Create units for this house

0 commit comments

Comments
 (0)