1
0
Fork 0

Added dtEnvitonment to player damage text (#4925)

+ Added dtEnvironment to string conversion
+ Added dtEnvironment to player damage strings
This commit is contained in:
12xx12 2020-09-22 13:38:55 +02:00 committed by GitHub
parent 51e026a3ae
commit a0dd311d02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1203,6 +1203,7 @@ void cPlayer::KilledBy(TakeDamageInfo & a_TDI)
case dtAdmin: return "was administrator'd";
case dtExplosion: return "blew up";
case dtAttack: return "was attacked by thin air";
case dtEnvironment: return "played too much dress up"; // This is not vanilla - added a own pun
}
UNREACHABLE("Unsupported damage type");
}();