Fix: do not apply disguise if we are seen by an enemy

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7181 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2014-05-01 21:53:59 +00:00
parent ba59e9fa5e
commit c137c76bb3
4 changed files with 37 additions and 32 deletions
+1 -4
View File
@@ -64,7 +64,7 @@
#include "environment.h"
// sevenfm: needed for _KeyDown(SHIFT)
#include "english.h"
#include "DisplayCover.h"
#endif
#include "InterfaceItemImages.h"
@@ -299,9 +299,6 @@ void DoorMenuBackregionCallback( MOUSE_REGION * pRegion, INT32 iReason );
UINT32 CalcUIMessageDuration( STR16 wString );
// sevenfm: this function is needed to show cover in health bar
extern void CalculateCoverForSoldier( SOLDIERTYPE* pForSoldier, const INT32& sTargetGridNo, const BOOLEAN& fRoof, INT8& bCover );
extern FLOAT Distance2D( FLOAT dDeltaX, FLOAT dDeltaY );
// Flugente: toggle display of enemy role indicators