]> git.pond.sub.org Git - empserver/commitdiff
bomb: Drop empty line after a ship's "blam-blam"
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 11 Jan 2015 14:12:17 +0000 (15:12 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 2 Mar 2015 07:20:50 +0000 (08:20 +0100)
It's only printed for ships.  Looks misplaced when it's followed by
"sunk" or other damage reports.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/bomb.c
tests/retreat/journal.log

index c98c8656e423083ab5d60e2cd21b1add215d117b..3067bb01ab64ed01115d0167889ee97989a3157e 100644 (file)
@@ -475,7 +475,6 @@ ship_bomb(struct emp_qelem *list, struct sctstr *target)
                prship(&ship),
                xyas(target->sct_x, target->sct_y, ship.shp_own));
        }
-       pr("\n");
        shipdamage(&ship, dam);
        if (ship.shp_effic < SHIP_MINEFF)
            pr("%s at %s sunk!\n",
index cff5d05e2e3db02375801ac8d99e5112d7161ea6..0fd60b750e818cfa91eacdd70f54f57fcf256d94 100644 (file)
     Play#1 output Play#1 4 lb   TBD-1 Devastator #3, 2 bombs.  Target ('~' to skip)?
     Play#1 input 61
     Play#1 output Play#1 1 50% hitchance...blam-blam
-    Play#1 output Play#1 1
     Play#1 output Play#1 1  #          owner           eff       type
     Play#1 output Play#1 1 (# 60)          2    completely  dd   destroyer (#60)
     Play#1 output Play#1 1 (# 62)          2    completely  dd   destroyer (#62)
     Play#1 output Play#1 4 lb   TBD-1 Devastator #2, 2 bombs.  Target ('~' to skip)?
     Play#1 input 62
     Play#1 output Play#1 1 50% hitchance...Blam-blam
-    Play#1 output Play#1 1
     Play#1 output Play#1 1  #          owner           eff       type
     Play#1 output Play#1 1 (# 60)          2    completely  dd   destroyer (#60)
     Play#1 output Play#1 1 (# 63)          2    completely  dd   destroyer (#63)
     Play#1 output Play#1 4 lb   TBD-1 Devastator #1, 2 bombs.  Target ('~' to skip)?
     Play#1 input 63
     Play#1 output Play#1 1 50% hitchance...BLAM-Blam
-    Play#1 output Play#1 1
     Play#1 output Play#1 1  #          owner           eff       type
     Play#1 output Play#1 1 (# 60)          2    completely  dd   destroyer (#60)
     Play#1 output Play#1 1 (# 64)          2    completely  dd   destroyer (#64)
     Play#1 output Play#1 4 lb   TBD-1 Devastator #0, 2 bombs.  Target ('~' to skip)?
     Play#1 input 64
     Play#1 output Play#1 1 50% hitchance...BLAM-blam
-    Play#1 output Play#1 1
     Play#1 output Play#1 6 0 607
     Play#1 input bomb 0/1/2/3/4 . p -2,2 ggh
     Play#1 command bomb
     Play#1 output Play#1 4 lb   TBD-1 Devastator #4, 2 bombs.  Target ('~' to skip)?
     Play#1 input 65
     Play#1 output Play#1 1 50% hitchance...blam-BLAM
-    Play#1 output Play#1 1
     Play#1 output Play#1 1  #          owner           eff       type
     Play#1 output Play#1 1 (# 60)          2    completely  dd   destroyer (#60)
     Play#1 output Play#1 1 (# 66)          2    completely  dd   destroyer (#66)
     Play#1 output Play#1 4 lb   TBD-1 Devastator #3, 2 bombs.  Target ('~' to skip)?
     Play#1 input 66
     Play#1 output Play#1 1 50% hitchance...blam-blam
-    Play#1 output Play#1 1
     Play#1 output Play#1 1  #          owner           eff       type
     Play#1 output Play#1 1 (# 60)          2    completely  dd   destroyer (#60)
     Play#1 output Play#1 1 (# 67)          2    completely  dd   destroyer (#67)
     Play#1 output Play#1 4 lb   TBD-1 Devastator #1, 2 bombs.  Target ('~' to skip)?
     Play#1 input 68
     Play#1 output Play#1 1 50% hitchance...blam-Blam
-    Play#1 output Play#1 1
     Play#1 output Play#1 1  #          owner           eff       type
     Play#1 output Play#1 1 (# 60)          2    completely  dd   destroyer (#60)
     Play#1 output Play#1 1 (# 67)          2    completely  dd   destroyer (#67)
     Play#1 output Play#1 4 lb   TBD-1 Devastator #0, 2 bombs.  Target ('~' to skip)?
     Play#1 input 69
     Play#1 output Play#1 1 50% hitchance...blam-Blam
-    Play#1 output Play#1 1
     Play#1 output Play#1 6 0 605
     Play#1 input launch 10 80
     Play#1 command launch