[odamex-bug-reporter] [Bug 1091] wrong obituaries on team kills in tdm

  • From: odamex-bugtracker@xxxxxxxxxx
  • To: odamex-bug-reporter@xxxxxxxxxxxxx
  • Date: Fri, 06 Jun 2014 13:59:19 +0000

http://odamex.net/bugs/show_bug.cgi?id=1091

Dr. Sean <grandpachuck187@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grandpachuck187@xxxxxxxxx

--- Comment #2 from Dr. Sean <grandpachuck187@xxxxxxxxx> ---
The function ClientObituary takes two AActor parameters: self and attacker,
where self is the actor that died and attacker is the actor who attacked self.
The names of these actors (client's name if the actor is a player) are used
when composing the obituary message.

When composing a friendly fire obituary message, the value of attacker is
copied to self, meaning that both self and attacker now point to the actor who
did the attacking. I can only guess that this is a hacky ZDoom 1.22
work-around. It may be possible to modify the LANGUAGE lump in Odamex.wad and
modify friendly fire obituary messages to use the token for attacker instead of
self, while removing the code that sets self to attacker in the ClientObituary
function.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Other related posts: