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.
(cherry picked from commit bb5abd95e0)
This commit is contained in:
Markus Armbruster 2010-03-12 20:39:39 +01:00
parent bd07ee186b
commit b14edd0f7c

View file

@ -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)