]> git.pond.sub.org Git - empserver/commitdiff
(ldump, ndump, pdump, sdump): Remove leading spaces in deity dumps;
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 17 Aug 2004 14:44:06 +0000 (14:44 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 17 Aug 2004 14:44:06 +0000 (14:44 +0000)
they waste bandwidth and don't match dump().

src/lib/commands/ldump.c
src/lib/commands/ndump.c
src/lib/commands/pdump.c
src/lib/commands/sdump.c

index 9b84819bc34c6dbb0e9a87b5e555f93f401bad4d..e627f121b2cc5dfcbd5a4419f6feb3f95fd9a8aa 100644 (file)
@@ -304,7 +304,7 @@ ldump(void)
 
        nunits++;
        if (player->god)
-           pr("%3d ", land.lnd_own);
+           pr("%d ", land.lnd_own);
        pr("%d", ni.cur);
        n = 0;
        while (field[n]) {
index 680a5540a3b0c30f4b4a46d3e85d24435b555d0f..cc4cb47913a835ba8d718d7646728b70c86694b1 100644 (file)
@@ -72,7 +72,7 @@ ndump(void)
        for (i = 0; i < N_MAXNUKE; i++) {
            if (nuk.nuk_types[i] > 0) {
                if (player->god)
-                   pr("%3d ", nuk.nuk_own);
+                   pr("%d ", nuk.nuk_own);
                pr("%d ", nuk.nuk_uid);
                prxy("%d %d", nuk.nuk_x, nuk.nuk_y, player->cnum);
                pr(" %d", nuk.nuk_types[i]);
index 7f4cf249f920d2f2fd396f00c56318e14b5e99d3..f30061179d6b36426e38a8c758a7da523db208b8 100644 (file)
@@ -206,7 +206,7 @@ pdump(void)
            continue;
        nplanes++;
        if (player->god)
-           pr("%3d ", plane.pln_own);
+           pr("%d ", plane.pln_own);
        pr("%d", np.cur);
        n = 0;
        while (field[n]) {
index f6778b766d1ea1fb02fc1893c98d73b1c94156d9..eb093df94bc049c8a64882a7826e9f66cde3eb4a 100644 (file)
@@ -276,7 +276,7 @@ sdump(void)
        count_units(&ship);
        nships++;
        if (player->god)
-           pr("%3d ", ship.shp_own);
+           pr("%d ", ship.shp_own);
        pr("%d", ni.cur);
        n = 0;
        while (field[n]) {