mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Print a warning if a riot shield is destroyed
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8437 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-1
@@ -2584,7 +2584,7 @@ void DamageRiotShield( SOLDIERTYPE* pSoldier, INT32& rsDamage, INT32& rsSecondar
|
||||
|
||||
UINT16 shieldstrength = Item[pObj->usItem].usRiotShieldStrength;
|
||||
|
||||
UINT16 damagetoshield = 2 * damage_original / shieldstrength;
|
||||
UINT16 damagetoshield = 1.5f * damage_original / shieldstrength;
|
||||
|
||||
pSoldier->RiotShieldTakeDamage( damagetoshield );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user