From: Markus Armbruster Date: Fri, 12 Mar 2010 19:39:39 +0000 (+0100) Subject: Fix news for torpedo attack's return torpedo X-Git-Tag: v4.3.25~10 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=bb5abd95e0af72cded1940b2fd9885dca2a465cb 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. --- 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)