mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
- prisoners give information only on mobile patrols, not on city sectors
- if using militia equipment, items stolen by militia are dropped after combat if their class is distributed to militia by the player - Fix: do not delete world items with invalid gridno - Fix: militia drop gear on valid GridNo git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5892 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -5608,8 +5608,8 @@ void HandlePrisonerProcessingInSector( INT16 sMapX, INT16 sMapY, INT8 bZ )
|
||||
UINT32 result = Random(100);
|
||||
if ( result < gGameExternalOptions.ubPrisonerProcessInfoDetectChance )
|
||||
{
|
||||
// there need to be enemies here...
|
||||
if ( NumStationaryEnemiesInSector( sX, sY ) == 0 )
|
||||
// there need to be mobile enemies here - that the quenn has troops in towns we do not own is hardly worthy information
|
||||
if ( NumMobileEnemiesInSector( sX, sY ) == 0 )
|
||||
continue;
|
||||
|
||||
// enemy patrol detected
|
||||
|
||||
Reference in New Issue
Block a user