summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2020-04-23 03:11:29 +0200
committerTimotej Lazar <timotej.lazar@araneo.si>2020-04-23 18:46:13 +0200
commitd57a0621dedf6c48e78160280ae54c7a098deb30 (patch)
tree91cdaeeaba10cb0b2cca3696905204268abf7832
parentf5978aef79c78901885bac35c72843405252b279 (diff)
Add missing field initializers to damage profile definitions
Cannot be _sure_ which values are missing, but looking at the usage it’s likely MakeExitWounds, which is only set for bullets.
-rw-r--r--src/avp/equipmnt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/avp/equipmnt.c b/src/avp/equipmnt.c
index 1e15409..62bb54b 100644
--- a/src/avp/equipmnt.c
+++ b/src/avp/equipmnt.c
@@ -8017,14 +8017,14 @@ DAMAGE_PROFILE console_nuke = {0,0,0,0,1000,0, 0,0,0,0,0,0,0,AMMO_NONE};
DAMAGE_PROFILE firedamage = {0,0,0,5,0,0, 0,0,0,0,0,0,0,AMMO_FIREDAMAGE_POSTMAX};
//Deamage caused by placed objects that explode when destroyed
-DAMAGE_PROFILE SmallExplosionDamage = {50,0,1,0,0,0, 1,0,0,0,0,0,AMMO_NONE};
-DAMAGE_PROFILE BigExplosionDamage = {60,0,10,0,0,0, 2,0,0,0,0,0,AMMO_NONE};
+DAMAGE_PROFILE SmallExplosionDamage = {50,0,1,0,0,0, 1,0,0,0,0,0,0,AMMO_NONE};
+DAMAGE_PROFILE BigExplosionDamage = {60,0,10,0,0,0, 2,0,0,0,0,0,0,AMMO_NONE};
/* KJL 17:05:19 27/08/98 - Flechette damage */
DAMAGE_PROFILE FlechetteDamage={0,10,0,0,0,0,0,0,0,0,0,0,1,AMMO_FLECHETTE_POSTMAX};
/* CDF 16:45 9/11/98 - Fan damage, from bh_fan.c */
-DAMAGE_PROFILE fan_damage={0,100,0,0,0,0,2,1,1,0,0,0,AMMO_NONE};
+DAMAGE_PROFILE fan_damage={0,100,0,0,0,0,2,1,1,0,0,0,0,AMMO_NONE};
/* KJL 18:29:27 10/11/98 - Falling damage */
/* CDF 17:52:00 22/2/99 Changed to Pen from Electrical, to fix NPC death selection */
@@ -8034,10 +8034,10 @@ DAMAGE_PROFILE FallingDamage={0,0,1,0,0,0,0,0,0,0,0,0,0,AMMO_FALLING_POSTMAX};
DAMAGE_PROFILE PredPistol_FlechetteDamage={0,0,0,0,1,0,0,0,0,0,0,0,1,AMMO_NONE};
/*Damage profiles related to queen level*/
-DAMAGE_PROFILE QueenButtDamage={40,0,0,0,0,0,0,0,0,0,0,0,AMMO_NONE};
+DAMAGE_PROFILE QueenButtDamage={40,0,0,0,0,0,0,0,0,0,0,0,0,AMMO_NONE};
//the impact damage entry is filled in when the damage is done
-DAMAGE_PROFILE QueenImpactDamage={0,0,0,0,0,0,0,0,0,0,0,0,AMMO_NONE};
-DAMAGE_PROFILE VacuumDamage={0,0,0,0,20,0,0,0,0,0,0,0,AMMO_NONE};
+DAMAGE_PROFILE QueenImpactDamage={0,0,0,0,0,0,0,0,0,0,0,0,0,AMMO_NONE};
+DAMAGE_PROFILE VacuumDamage={0,0,0,0,20,0,0,0,0,0,0,0,0,AMMO_NONE};
//Damage for death volumes that do damage per second