mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
NEW_SUPPRESSION_CODE:
- use effective experience level when calculating base suppression tolerance, so nearby squad leaders may raise effective level and help fight suppression - if NEARBY_FRIENDLIES_AFFECT_TOLERANCE option is active, nearby friends can help increase suppression tolerance, up to +-3 points added depending on distance, only for merc bodytypes CheckStatusNearbyFriendlies: minor code improvements, fixed variable names, use INT16 for calculation git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9182 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -26104,6 +26104,14 @@ BOOLEAN SOLDIERTYPE::IsCowering(void)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOLEAN SOLDIERTYPE::IsUnconscious(void)
|
||||
{
|
||||
if (this->bCollapsed && this->bBreath < OKBREATH)
|
||||
return TRUE;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void SOLDIERTYPE::StopCoweringAnimation(void)
|
||||
{
|
||||
if (this->usAnimState == COWERING)
|
||||
|
||||
Reference in New Issue
Block a user