fire: Suppress bulletin when player shells his own ship
Has always been suppressed for shelling own sectors. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
e0cf0c5519
commit
196a1292b0
2 changed files with 3 additions and 8 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 2000
|
||||
* Markus Armbruster, 2004-2013
|
||||
* Markus Armbruster, 2004-2014
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
@ -442,7 +442,7 @@ multifire(void)
|
|||
nreport(player->cnum, N_SHP_SHELL, vict, 1);
|
||||
/* fall through */
|
||||
default:
|
||||
if (vict) {
|
||||
if (vict && vict != player->cnum) {
|
||||
wu(0, vict,
|
||||
"Country #%d shelled %s in %s for %d damage.\n",
|
||||
player->cnum, prship(&vship),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue