From a8fdaefe73b52738e8b0048506de9ee71ce8c097 Mon Sep 17 00:00:00 2001 From: player701 Date: Mon, 29 Apr 2019 13:11:18 +0300 Subject: [PATCH] - Fixed random generation of friendly obituaries --- wadsrc/static/zscript/actors/player/player.zs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/actors/player/player.zs b/wadsrc/static/zscript/actors/player/player.zs index bddbee27c7..1acd84b28d 100644 --- a/wadsrc/static/zscript/actors/player/player.zs +++ b/wadsrc/static/zscript/actors/player/player.zs @@ -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 {