Added dtExplosion to damage<->string functions.
This commit is contained in:
parent
91a8db0d7e
commit
a96ea33b64
@ -380,7 +380,7 @@ AString DamageTypeToString(eDamageType a_DamageType)
|
||||
case dtRangedAttack: return "dtRangedAttack";
|
||||
case dtStarving: return "dtStarving";
|
||||
case dtSuffocating: return "dtSuffocation";
|
||||
|
||||
case dtExplosion: return "dtExplosion";
|
||||
}
|
||||
|
||||
// Unknown damage type:
|
||||
@ -426,6 +426,7 @@ eDamageType StringToDamageType(const AString & a_DamageTypeString)
|
||||
{ dtInVoid, "dtInVoid"},
|
||||
{ dtPotionOfHarming, "dtPotionOfHarming"},
|
||||
{ dtAdmin, "dtAdmin"},
|
||||
{ dtExplosion, "dtExplosion"},
|
||||
|
||||
// Common synonyms:
|
||||
{ dtAttack, "dtPawnAttack"},
|
||||
|
Loading…
Reference in New Issue
Block a user