mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
- bugfix: Bug #79: Creatures are gone if you compress time in strategic and select auto battle
- bugfix: Bug #51: Speck sends wrong mail if any of the 4 new guys (Text, Stogie, Biggens, Gaston) level up. - added missing description texts for IMP skill rooftop sniping and camouflage (also translated in german and russian) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1796 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2862,6 +2862,16 @@ void CalculateAutoResolveInfo()
|
||||
&gpAR->ubYMCreatures, &gpAR->ubYFCreatures,
|
||||
&gpAR->ubAMCreatures, &gpAR->ubAFCreatures );
|
||||
}
|
||||
|
||||
// WANNE: Quickfix: If we have 0 creatues call the DetermineCreatureTownCompositionBasedOnTacticalInformation(),
|
||||
// because we called the DetermineCreatureTownComposition() method before which was wrong.
|
||||
if (gubNumCreaturesAttackingTown == 0)
|
||||
{
|
||||
DetermineCreatureTownCompositionBasedOnTacticalInformation( &gubNumCreaturesAttackingTown,
|
||||
&gpAR->ubYMCreatures, &gpAR->ubYFCreatures,
|
||||
&gpAR->ubAMCreatures, &gpAR->ubAFCreatures );
|
||||
}
|
||||
|
||||
gpAR->ubEnemies = (UINT8)min( gpAR->ubYMCreatures + gpAR->ubYFCreatures + gpAR->ubAMCreatures + gpAR->ubAFCreatures, MAX_AR_TEAM_SIZE );
|
||||
}
|
||||
gfTransferTacticalOppositionToAutoResolve = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user