mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Focus skill: no watched location interrupt bonus if focus is active.
Improved data initialization. Smart tree top hiding: increased max distance to hide tree in vertical direction. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8950 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2118,20 +2118,10 @@ void InitSoldierStruct( SOLDIERTYPE *pSoldier )
|
||||
pSoldier->usChatPartnerID = NOBODY;
|
||||
|
||||
// sevenfm: initialize additional data
|
||||
pSoldier->ubLastShock = 0;
|
||||
pSoldier->ubLastSuppression = 0;
|
||||
pSoldier->ubLastAP = 0;
|
||||
pSoldier->ubLastMorale = 0;
|
||||
pSoldier->ubLastShockFromHit = 0;
|
||||
pSoldier->ubLastMoraleFromHit = 0;
|
||||
pSoldier->ubLastAPFromHit = 0;
|
||||
pSoldier->iLastBulletImpact = 0;
|
||||
pSoldier->iLastArmourProtection = 0;
|
||||
pSoldier->InitializeExtraData();
|
||||
|
||||
pSoldier->usQuickItemId = 0;
|
||||
pSoldier->ubQuickItemSlot = 0;
|
||||
|
||||
pSoldier->usGrenadeItem = 0;
|
||||
pSoldier->sDragGridNo = NOWHERE;
|
||||
pSoldier->sFocusGridNo = NOWHERE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user