mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Added Headrock's HAM 2.8
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2650 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2241,7 +2241,8 @@ else
|
||||
|
||||
// only enemy soldiers use auto-drop system!
|
||||
// don't use the auto-drop system in auto-resolve: player won't see what's being used & enemies will often win & keep'em
|
||||
if ( SOLDIER_CLASS_ENEMY( bSoldierClass ) && !IsAutoResolveActive() )
|
||||
// HEADROCK HAM B2.8: Militia now drop all their equipment... IF not killed by player (see TurnSoldierIntoCorpse() )
|
||||
if ( (SOLDIER_CLASS_ENEMY( bSoldierClass ) || ( gGameExternalOptions.ubMilitiaDropEquipment > 0 && SOLDIER_CLASS_MILITIA( bSoldierClass ) )) && !IsAutoResolveActive() )
|
||||
{
|
||||
// SPECIAL handling for weapons: we'll always drop a weapon type that has never been dropped before
|
||||
for( i = 0; i < pp->Inv.size(); i++ )
|
||||
|
||||
Reference in New Issue
Block a user