mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed obituary string generation
This commit is contained in:
parent
6489f5ebf0
commit
e27e3453f9
1 changed files with 2 additions and 2 deletions
|
@ -247,11 +247,11 @@ void ClientObituary (AActor *self, AActor *inflictor, AActor *attacker, int dmgf
|
|||
}
|
||||
else
|
||||
{
|
||||
lookup.Format("$Obituary_%s_%s", attacker->GetClass()->TypeName, mod.GetChars());
|
||||
lookup.Format("$Obituary_%s_%s", attacker->GetClass()->TypeName.GetChars(), mod.GetChars());
|
||||
if (GStrings[lookup]) message = lookup;
|
||||
else
|
||||
{
|
||||
lookup.Format("$Obituary_%s", attacker->GetClass()->TypeName, mod.GetChars());
|
||||
lookup.Format("$Obituary_%s", attacker->GetClass()->TypeName.GetChars(), mod.GetChars());
|
||||
if (GStrings[lookup]) message = lookup;
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue