From 1bb5d6a0fa57b34e9c53d1330b77cd3efe222663 Mon Sep 17 00:00:00 2001 From: qndel Date: Mon, 25 Oct 2021 18:03:42 +0200 Subject: [PATCH] fix multiplayer hit sounds --- Source/missiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/missiles.cpp b/Source/missiles.cpp index bb5102f82..37572051c 100644 --- a/Source/missiles.cpp +++ b/Source/missiles.cpp @@ -398,7 +398,7 @@ bool Plr2PlrMHit(int pnum, int p, int mindam, int maxdam, int dist, missile_id m dam -= (dam * resper) / 100; if (pnum == MyPlayerId) NetSendCmdDamage(true, p, dam); - player.Say(HeroSpeech::ArghClang); + target.Say(HeroSpeech::ArghClang); return true; }