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.
This commit is contained in:
parent
2dd97dbd00
commit
bb5abd95e0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue