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:
Flugente
2018-02-18 23:17:34 +00:00
parent ee73811cfe
commit e55b480996
83 changed files with 3784 additions and 937 deletions
+2 -5
View File
@@ -150,11 +150,8 @@ INT32 MostImportantNoiseHeard( SOLDIERTYPE *pSoldier, INT32 *piRetValue, BOOLEAN
pbPublOL = gbPublicOpplist[pSoldier->bTeam];
// sevenfm: sector information
UINT8 sectordata = 0;
if ( gbWorldSectorZ > 0 ) // underground we are always suspicious
sectordata = 2;
else
sectordata = SectorExternalData[SECTOR( gWorldSectorX, gWorldSectorY )][gbWorldSectorZ].usCurfewValue;
UINT8 ubSectorId = SECTOR( gWorldSectorX, gWorldSectorY );
UINT8 sectordata = SectorExternalData[ubSectorId][0].usCurfewValue;
// look through this man's personal & public opplists for opponents heard
for (uiLoop = 0; uiLoop < guiNumMercSlots; ++uiLoop)