mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- Bugfix: After Mike has been recruited, he could still show up as an enemy later in the game (a Mike clone) (by anv and silversurfer)
o Similar fix is also applied for Iggy git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6238 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1727,14 +1727,20 @@ void HourlyProgressUpdate(void)
|
||||
// at 50% make Mike available to the strategic AI
|
||||
if ( ubCurrentProgress >= gGameExternalOptions.ubGameProgressMikeAvailable && gStrategicStatus.ubHighestProgress <= gGameExternalOptions.ubGameProgressMikeAvailable )
|
||||
{
|
||||
SetFactTrue( FACT_MIKE_AVAILABLE_TO_ARMY );
|
||||
if( gubFact[FACT_MIKE_AVAILABLE_TO_ARMY] < 2 );
|
||||
{
|
||||
SetFactTrue( FACT_MIKE_AVAILABLE_TO_ARMY );
|
||||
}
|
||||
}
|
||||
|
||||
// at 70% add Iggy to the world
|
||||
if ( ubCurrentProgress >= gGameExternalOptions.ubGameProgressIggyAvaliable && gStrategicStatus.ubHighestProgress <= gGameExternalOptions.ubGameProgressIggyAvaliable )
|
||||
{
|
||||
gMercProfiles[ IGGY ].sSectorX = 5;
|
||||
gMercProfiles[ IGGY ].sSectorY = MAP_ROW_C;
|
||||
if ( gubFact[ FACT_IGGY_AVAILABLE_TO_ARMY ] < 2 )
|
||||
{
|
||||
gMercProfiles[ IGGY ].sSectorX = 5;
|
||||
gMercProfiles[ IGGY ].sSectorY = MAP_ROW_C;
|
||||
}
|
||||
}
|
||||
|
||||
// Flugente: on certain progress levels, the queen decides to initiate major attacks
|
||||
|
||||
Reference in New Issue
Block a user