mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- Fixed random generation of friendly obituaries
This commit is contained in:
parent
a33fae19dd
commit
32109a75a7
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ class PlayerPawn : Actor
|
|||
if (victim.player != player && victim.IsTeammate(self))
|
||||
{
|
||||
victim = self;
|
||||
return String.Format("$OB_FRIENDLY%c", random[Obituary](49, 53));
|
||||
return String.Format("$OB_FRIENDLY%d", random[Obituary](1, 4));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue