From e83afa8aa0051ea91b36fbffbf7ba918d8432de6 Mon Sep 17 00:00:00 2001 From: Flugente Date: Sat, 25 Aug 2012 16:45:42 +0000 Subject: [PATCH] added stealing, cutting fences (and with that building fortifications) to the list of suspicious actions for the covert trait git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5534 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Soldier Control.cpp | 7 +++++++ Tactical/Soldier Control.h | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Tactical/Soldier Control.cpp b/Tactical/Soldier Control.cpp index a37e6d783..6efb536b9 100644 --- a/Tactical/Soldier Control.cpp +++ b/Tactical/Soldier Control.cpp @@ -14691,6 +14691,11 @@ BOOLEAN SOLDIERTYPE::SeemsLegit( UINT8 ubObserverID ) this->usAnimState == DECAPITATE || this->usAnimState == CROWBAR_ATTACK || this->usAnimState == THROW_GRENADE_STANCE || + this->usAnimState == SHOOT_ROCKET_CROUCHED || + this->usAnimState == LOB_GRENADE_STANCE || + this->usAnimState == THROW_KNIFE || + this->usAnimState == CUTTING_FENCE || + this->usAnimState == HELIDROP || this->usAnimState == THROW_KNIFE_SP_BM || this->usAnimState == DODGE_ONE || this->usAnimState == SLICE || @@ -14703,6 +14708,8 @@ BOOLEAN SOLDIERTYPE::SeemsLegit( UINT8 ubObserverID ) this->usAnimState == THROW_KNIFE || this->usAnimState == PLANT_BOMB || this->usAnimState == USE_REMOTE || + this->usAnimState == STEAL_ITEM || + this->usAnimState == SHOOT_ROCKET || this->usAnimState == TAKE_BLOOD_FROM_CORPSE || this->usAnimState == PICK_LOCK || this->usAnimState == LOCKPICK_CROUCHED || diff --git a/Tactical/Soldier Control.h b/Tactical/Soldier Control.h index 7ceefc0e9..108fb5289 100644 --- a/Tactical/Soldier Control.h +++ b/Tactical/Soldier Control.h @@ -1459,8 +1459,6 @@ public: // Flugente: functions for the covert ops trait - // are we in covert mode? we need to have the correct flag set, and not wear anything suspicious, or behave in a suspicious way - // do we look like a civilian? BOOLEAN LooksLikeACivilian( void );