mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- Fixed: The obituary code didn't use the attacker's name for kills caused
by other players. SVN r207 (trunk)
This commit is contained in:
parent
e2ac4c1168
commit
f356e356a0
2 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
June 21, 2006 (Changes by Graf Zahl)
|
June 21, 2006 (Changes by Graf Zahl)
|
||||||
|
- Fixed: The obituary code didn't use the attacker's name for kills caused
|
||||||
|
by other players.
|
||||||
- Fixed: PIT_StompThing never checked for COMPATF_NO_PASSMOBJ.
|
- Fixed: PIT_StompThing never checked for COMPATF_NO_PASSMOBJ.
|
||||||
- Fixed: COMPATF_TRACE returned true for all two-sided lines, not just for
|
- Fixed: COMPATF_TRACE returned true for all two-sided lines, not just for
|
||||||
those with the same sector on both sides.
|
those with the same sector on both sides.
|
||||||
|
|
|
@ -295,6 +295,7 @@ void ClientObituary (AActor *self, AActor *inflictor, AActor *attacker)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else attacker = self; // for the message creation
|
||||||
|
|
||||||
if (message != NULL && message[0] == '$')
|
if (message != NULL && message[0] == '$')
|
||||||
{
|
{
|
||||||
|
@ -307,7 +308,7 @@ void ClientObituary (AActor *self, AActor *inflictor, AActor *attacker)
|
||||||
}
|
}
|
||||||
|
|
||||||
SexMessage (message, gendermessage, gender,
|
SexMessage (message, gendermessage, gender,
|
||||||
self->player->userinfo.netname, self->player->userinfo.netname);
|
self->player->userinfo.netname, attacker->player->userinfo.netname);
|
||||||
Printf (PRINT_MEDIUM, "%s\n", gendermessage);
|
Printf (PRINT_MEDIUM, "%s\n", gendermessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue