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 dtRangedAttack: return "dtRangedAttack";
|
||||||
case dtStarving: return "dtStarving";
|
case dtStarving: return "dtStarving";
|
||||||
case dtSuffocating: return "dtSuffocation";
|
case dtSuffocating: return "dtSuffocation";
|
||||||
|
case dtExplosion: return "dtExplosion";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unknown damage type:
|
// Unknown damage type:
|
||||||
@ -426,6 +426,7 @@ eDamageType StringToDamageType(const AString & a_DamageTypeString)
|
|||||||
{ dtInVoid, "dtInVoid"},
|
{ dtInVoid, "dtInVoid"},
|
||||||
{ dtPotionOfHarming, "dtPotionOfHarming"},
|
{ dtPotionOfHarming, "dtPotionOfHarming"},
|
||||||
{ dtAdmin, "dtAdmin"},
|
{ dtAdmin, "dtAdmin"},
|
||||||
|
{ dtExplosion, "dtExplosion"},
|
||||||
|
|
||||||
// Common synonyms:
|
// Common synonyms:
|
||||||
{ dtAttack, "dtPawnAttack"},
|
{ dtAttack, "dtPawnAttack"},
|
||||||
|
Loading…
Reference in New Issue
Block a user