mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
- A few minor bugfixes (by Buggler)
o Tactical Real-time Retreat bugfix (Overhead.cpp) o Enemy in pursuit mode bugfix (Strategy AI.cpp) o History Log Entry for Autoresolve Retreat (Auto Resolve.cpp) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4781 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2115,6 +2115,7 @@ DebugMsg (TOPIC_JA2,DBG_LEVEL_3,"Strategic5");
|
||||
Assert( !pGroup->fPlayer );
|
||||
if( pGroup->pEnemyGroup->ubIntention == PURSUIT )
|
||||
{ //Lost the player group that he was going to attack. Return to original position.
|
||||
SetThisSectorAsEnemyControlled( pGroup->ubSectorX, pGroup->ubSectorY, 0, TRUE );
|
||||
ReassignAIGroup( &pGroup );
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user