]> git.pond.sub.org Git - empserver/commitdiff
Break excessively long line.
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 1 Mar 2004 14:07:10 +0000 (14:07 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 1 Mar 2004 14:07:10 +0000 (14:07 +0000)
src/lib/commands/spy.c

index 15ae8a1d04cb87bfdc200cee11f3882fa544690a..939035d72e665ea92a5d4d80b1a60d84265e6b70 100644 (file)
@@ -229,7 +229,24 @@ spyline(struct sctstr *sp)
 
     getvec(VT_ITEM, vec, (s_char *)sp, EF_SECTOR);
     prxy("%4d,%-4d", sp->sct_x, sp->sct_y, player->cnum);
-    pr(" %c%c %3d %3d %3d %3d %3d %3d %4d %4d %4d %3d %4d %4d %4d %3d %3d\n", dchr[sp->sct_type].d_mnem, (sp->sct_newtype == sp->sct_type) ? ' ' : dchr[sp->sct_newtype].d_mnem, sp->sct_own, sp->sct_oldown, roundintby((int)sp->sct_effic, 10), roundintby((int)sp->sct_road, 10), roundintby((int)sp->sct_rail, 10), roundintby((int)sp->sct_defense, 10), roundintby(vec[I_CIVIL], 10), roundintby(vec[I_MILIT], 10), roundintby(vec[I_SHELL], 10), roundintby(vec[I_GUN], 10), roundintby(vec[I_PETROL], 10), roundintby(vec[I_FOOD], 10), roundintby(vec[I_BAR], 10), count_sect_units(sp), count_sect_planes(sp));
+    pr(" %c%c %3d %3d %3d %3d %3d %3d %4d %4d %4d %3d %4d %4d %4d %3d %3d\n",
+       dchr[sp->sct_type].d_mnem,
+       (sp->sct_newtype == sp->sct_type) ? ' ' : dchr[sp->sct_newtype].d_mnem,
+       sp->sct_own,
+       sp->sct_oldown,
+       roundintby((int)sp->sct_effic, 10),
+       roundintby((int)sp->sct_road, 10),
+       roundintby((int)sp->sct_rail, 10),
+       roundintby((int)sp->sct_defense, 10),
+       roundintby(vec[I_CIVIL], 10),
+       roundintby(vec[I_MILIT], 10),
+       roundintby(vec[I_SHELL], 10),
+       roundintby(vec[I_GUN], 10),
+       roundintby(vec[I_PETROL], 10),
+       roundintby(vec[I_FOOD], 10),
+       roundintby(vec[I_BAR], 10),
+       count_sect_units(sp),
+       count_sect_planes(sp));
 }