mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Bugfix: IIS: Fixed endless loop on interrupt when IIS is enabled in the ja2_options.ini (by Sandro)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4901 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -968,8 +968,8 @@ void StartInterrupt( void )
|
|||||||
|
|
||||||
//if ( gTacticalStatus.ubCurrentTeam == OUR_TEAM )//hayden
|
//if ( gTacticalStatus.ubCurrentTeam == OUR_TEAM )//hayden
|
||||||
// if ( pSoldier->bTeam > OUR_TEAM && pSoldier->bTeam < 6) // cheap disable
|
// if ( pSoldier->bTeam > OUR_TEAM && pSoldier->bTeam < 6) // cheap disable
|
||||||
// SANDRO - if we just saw the guy, don't flag it as hidden interrupt
|
// SANDRO - we don't use the "hidden interrupt" feature with IIS
|
||||||
if (!is_networked && gTacticalStatus.ubCurrentTeam == OUR_TEAM
|
if (!is_networked && gTacticalStatus.ubCurrentTeam == OUR_TEAM && !gGameExternalOptions.fImprovedInterruptSystem
|
||||||
&& MercPtrs[ LATEST_INTERRUPT_GUY ]->aiData.bOppList[pTempSoldier->ubID] != SEEN_CURRENTLY
|
&& MercPtrs[ LATEST_INTERRUPT_GUY ]->aiData.bOppList[pTempSoldier->ubID] != SEEN_CURRENTLY
|
||||||
&& MercPtrs[ LATEST_INTERRUPT_GUY ]->aiData.bOppList[pTempSoldier->ubID] != SEEN_THIS_TURN )
|
&& MercPtrs[ LATEST_INTERRUPT_GUY ]->aiData.bOppList[pTempSoldier->ubID] != SEEN_THIS_TURN )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user