From 7bf37c7d738f90625a992ad3508750d8727b1578 Mon Sep 17 00:00:00 2001 From: hugomflavio Date: Wed, 11 Sep 2024 13:50:40 -0400 Subject: [PATCH] fix wrong unit being linked to stack kill message --- server/unittools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/unittools.cpp b/server/unittools.cpp index acceca27ab..819c4c72d1 100644 --- a/server/unittools.cpp +++ b/server/unittools.cpp @@ -2566,7 +2566,7 @@ void kill_unit(struct unit *pkiller, struct unit *punit, bool vet) PL_("Another unit was eliminated by your attacking %s!", "Another %2$d units were eliminated by your attacking %1$s!", unitcount - 1), - punit_link, unitcount - 1); + pkiller_link, unitcount - 1); } /* inform the owners: this only tells about owned units that were killed.