mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +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
|
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;
|
if (GStrings[lookup]) message = lookup;
|
||||||
else
|
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;
|
if (GStrings[lookup]) message = lookup;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue