diff --git a/src/lib/commands/buil.c b/src/lib/commands/buil.c index d1495c63..6093abf1 100644 --- a/src/lib/commands/buil.c +++ b/src/lib/commands/buil.c @@ -693,7 +693,7 @@ build_nuke(struct sctstr *sp, struct nchrstr *np, short *vec, int tlev) nuke.nuk_own = sp->sct_own; nuke.nuk_type = np - nchr; nuke.nuk_effic = 100; - nuke.nuk_stockpile = ' '; + nuke.nuk_stockpile = 0; nuke.nuk_ship = nuke.nuk_plane = nuke.nuk_land = -1; nuke.nuk_uid = nstr.cur; nuke.nuk_tech = tlev; diff --git a/src/lib/commands/nuke.c b/src/lib/commands/nuke.c index b6e38ee8..136d1be5 100644 --- a/src/lib/commands/nuke.c +++ b/src/lib/commands/nuke.c @@ -29,6 +29,7 @@ * * Known contributors to this file: * Dave Pare, 1986 + * Markus Armbruster, 2006 */ #include @@ -66,7 +67,8 @@ nuke(void) pr("%-3d ", nuk.nuk_own); pr("%4d %-19.19s ", nstr.cur, nchr[(int)nuk.nuk_type].n_name); prxy("%4d,%-4d", nuk.nuk_x, nuk.nuk_y, player->cnum); - pr(" %c %3d%% %4d", nuk.nuk_stockpile, nuk.nuk_effic, nuk.nuk_tech); + pr(" %1.1s %3d%% %4d", + &nuk.nuk_stockpile, nuk.nuk_effic, nuk.nuk_tech); if (nuk.nuk_plane >= 0) { getplane(nuk.nuk_plane, &plane); pr("%5dP %s",