mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
New feature: Getting and using intel allows for more spy-related roleplay.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23643&goto=352475&#msg_352475 Requires GameDir >= r2401. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8522 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+7
-4
@@ -906,6 +906,9 @@ BOOLEAN LoadArmsDealerInventoryFromSavedGameFile( HWFILE hFile )
|
||||
delete [] pOldArmsDealersInventory;
|
||||
}
|
||||
|
||||
// we need to refresh our selection at this point, as lua data may depend on campaign specifics
|
||||
HandlePossibleArmsDealerIntelRefresh( TRUE );
|
||||
|
||||
return( TRUE );
|
||||
}
|
||||
|
||||
@@ -8526,8 +8529,8 @@ BOOLEAN SaveGeneralInfo( HWFILE hFile )
|
||||
|
||||
//New stuff for the Prebattle interface / autoresolve
|
||||
sGeneralInfo.fPersistantPBI = gfPersistantPBI;
|
||||
sGeneralInfo.ubEnemyEncounterCode = gubEnemyEncounterCode;
|
||||
sGeneralInfo.ubExplicitEnemyEncounterCode = gubExplicitEnemyEncounterCode;
|
||||
sGeneralInfo.ubEnemyEncounterCode = GetEnemyEncounterCode();
|
||||
sGeneralInfo.ubExplicitEnemyEncounterCode = GetExplicitEnemyEncounterCode();
|
||||
sGeneralInfo.fBlitBattleSectorLocator = gfBlitBattleSectorLocator;
|
||||
sGeneralInfo.ubPBSectorX = gubPBSectorX;
|
||||
sGeneralInfo.ubPBSectorY = gubPBSectorY;
|
||||
@@ -9101,8 +9104,8 @@ BOOLEAN LoadGeneralInfo( HWFILE hFile )
|
||||
|
||||
//New stuff for the Prebattle interface / autoresolve
|
||||
gfPersistantPBI = sGeneralInfo.fPersistantPBI;
|
||||
gubEnemyEncounterCode = sGeneralInfo.ubEnemyEncounterCode;
|
||||
gubExplicitEnemyEncounterCode = sGeneralInfo.ubExplicitEnemyEncounterCode;
|
||||
SetEnemyEncounterCode( sGeneralInfo.ubEnemyEncounterCode );
|
||||
SetExplicitEnemyEncounterCode( sGeneralInfo.ubExplicitEnemyEncounterCode );
|
||||
gfBlitBattleSectorLocator = sGeneralInfo.fBlitBattleSectorLocator;
|
||||
gubPBSectorX = sGeneralInfo.ubPBSectorX;
|
||||
gubPBSectorY = sGeneralInfo.ubPBSectorY;
|
||||
|
||||
Reference in New Issue
Block a user