/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2000, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2004, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
if (player->god)
pr(" ");
time(&now);
- pr("DUMP PLANES %d\n", now);
+ pr("DUMP PLANES %ld\n", (long)now);
if (player->god)
pr("own ");
pr("id");
continue;
nplanes++;
if (player->god)
- pr("%3d ", plane.pln_own);
+ pr("%d ", plane.pln_own);
pr("%d", np.cur);
n = 0;
while (field[n]) {
switch (field[n++]) {
case 1:
- pr(" %0.4s", plchr[(int)plane.pln_type].pl_name);
+ pr(" %.4s", plchr[(int)plane.pln_type].pl_name);
break;
case 2:
pr(" %d", xrel(natp, plane.pln_x));
break;
case 20:
if (plane.pln_nuketype != -1) {
- pr(" %0.5s", nchr[(int)plane.pln_nuketype].n_name);
+ pr(" %.5s", nchr[(int)plane.pln_nuketype].n_name);
break;
} else
pr(" N/A");