(launch_missile): Simplify to avoid compiler warning.
This commit is contained in:
parent
baabcc563e
commit
00ba173baa
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ launch_missile(struct plnstr *pp, int sublaunch)
|
||||||
pr("\t%s sunk!\n", prship(&target_ship));
|
pr("\t%s sunk!\n", prship(&target_ship));
|
||||||
putship(target_ship.shp_uid, &target_ship);
|
putship(target_ship.shp_uid, &target_ship);
|
||||||
}
|
}
|
||||||
getship(n, &target_ship);
|
getship(target_ship.shp_uid, &target_ship);
|
||||||
if (!target_ship.shp_own)
|
if (!target_ship.shp_own)
|
||||||
pr("%s sunk!\n", prship(&target_ship));
|
pr("%s sunk!\n", prship(&target_ship));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue