mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
ASD deployment fix (by rftr):
- fix: robots, jeeps, and tanks now appear in garrison reinforcement and patrol groups (if the ASD and these units are enabled) - fix: ASD continues to purchase jeeps if tanks are disabled - removed some magic numbers in Strategic AI.cpp git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8982 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-1
@@ -257,7 +257,7 @@ void ASDDecideOnPurchases()
|
||||
needed_jeep = min( 10, 2 + highestplayerprogress / 10 );
|
||||
|
||||
// if we already unlocked tanks, we no longer want jeeps - they are replaced by tanks
|
||||
if ( gASD_Flags & ASDFACT_TANK_UNLOCKED )
|
||||
if ( (gASD_Flags & ASDFACT_TANK_UNLOCKED) && gGameExternalOptions.fASDAssignsTanks )
|
||||
{
|
||||
needed_jeep = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user