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:
Flugente
2017-08-01 17:35:34 +00:00
parent a7bb8b9fe9
commit de22a5f9ab
11 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -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 );