mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
GridNoSpotterCTHBonus: fixed bTeam type.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8949 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -25094,7 +25094,7 @@ BOOLEAN PlayerTeamIsScanning( )
|
|||||||
}
|
}
|
||||||
|
|
||||||
// bonus for snipers firing at this location (we get this if there are spotters)
|
// bonus for snipers firing at this location (we get this if there are spotters)
|
||||||
UINT16 GridNoSpotterCTHBonus( SOLDIERTYPE* pSniper, INT32 sGridNo, UINT bTeam )
|
UINT16 GridNoSpotterCTHBonus( SOLDIERTYPE* pSniper, INT32 sGridNo, INT8 bTeam )
|
||||||
{
|
{
|
||||||
UINT16 bestvalue = 0;
|
UINT16 bestvalue = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -2205,7 +2205,7 @@ BOOLEAN GetRadioOperatorSignal(UINT8 usOwner, INT32* psTargetGridNo); // retriev
|
|||||||
BOOLEAN IsValidArtilleryOrderSector( INT16 sSectorX, INT16 sSectorY, INT8 bSectorZ, UINT8 bTeam ); // can an artillery strike be ordered FROM this sector
|
BOOLEAN IsValidArtilleryOrderSector( INT16 sSectorX, INT16 sSectorY, INT8 bSectorZ, UINT8 bTeam ); // can an artillery strike be ordered FROM this sector
|
||||||
BOOLEAN SectorJammed();
|
BOOLEAN SectorJammed();
|
||||||
BOOLEAN PlayerTeamIsScanning();
|
BOOLEAN PlayerTeamIsScanning();
|
||||||
UINT16 GridNoSpotterCTHBonus( SOLDIERTYPE* pSniper, INT32 sGridNo, UINT bTeam); // bonus for snipers firing at this location (we get this if there are spotters)
|
UINT16 GridNoSpotterCTHBonus( SOLDIERTYPE* pSniper, INT32 sGridNo, INT8 bTeam); // bonus for snipers firing at this location (we get this if there are spotters)
|
||||||
UINT16 GetSuspiciousAnimationAPDuration( UINT16 usAnimation ); // get overt penalty duration in AP for using an animation
|
UINT16 GetSuspiciousAnimationAPDuration( UINT16 usAnimation ); // get overt penalty duration in AP for using an animation
|
||||||
|
|
||||||
//typedef struct
|
//typedef struct
|
||||||
|
|||||||
Reference in New Issue
Block a user