From bb5abd95e0af72cded1940b2fd9885dca2a465cb Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 12 Mar 2010 20:39:39 +0100 Subject: [PATCH] Fix news for torpedo attack's return torpedo When a torpedo attack triggered a return torpedo, the news reported it to be fired by the attacker instead of the defender. --- src/lib/commands/torp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/torp.c b/src/lib/commands/torp.c index 22b24d079..3ba4fd3be 100644 --- a/src/lib/commands/torp.c +++ b/src/lib/commands/torp.c @@ -319,7 +319,7 @@ fire_torp(struct shpstr *sp, struct shpstr *targ, int ntargets) if (mchr[(int)sp->shp_type].m_flags & M_SUB) nreport(targ->shp_own, N_TORP_SHIP, 0, 1); else - nreport(targ->shp_own, N_SHIP_TORP, player->cnum, 1); + nreport(targ->shp_own, N_SHIP_TORP, sp->shp_own, 1); } else { pr("Missed!\n"); if (sp->shp_own != 0) -- 2.43.0