mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 00:21:34 +00:00
Merge branch 'master' into Glew_Version_For_Real
This commit is contained in:
commit
13c4e993ba
1 changed files with 4 additions and 0 deletions
|
@ -320,6 +320,10 @@ void ClientObituary (AActor *self, AActor *inflictor, AActor *attacker, int dmgf
|
|||
message = GStrings("OB_DEFAULT");
|
||||
}
|
||||
|
||||
// [CK] Don't display empty strings
|
||||
if (message == NULL || strlen(message) <= 0)
|
||||
return;
|
||||
|
||||
SexMessage (message, gendermessage, gender,
|
||||
self->player->userinfo.GetName(), attacker->player->userinfo.GetName());
|
||||
Printf (PRINT_MEDIUM, "%s\n", gendermessage);
|
||||
|
|
Loading…
Reference in a new issue