/*
* 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
#include "ship.h"
#include "nat.h"
#include "nsc.h"
-#include "deity.h"
#include "file.h"
#include "optlist.h"
#include "commands.h"
int nships;
struct nstr_item ni;
struct shpstr ship;
- int vec[I_MAX + 1];
if (!snxtitem(&ni, EF_SHIP, player->argp[1]))
return RET_SYN;
pr("%1c", ship.shp_fleet);
pr("%4d%%", ship.shp_effic);
- getvec(VT_ITEM, vec, (s_char *)&ship, EF_SHIP);
- pr("%4d", vec[I_CIVIL]);
- pr("%4d", vec[I_MILIT]);
- pr("%4d", vec[I_UW]);
- pr("%4d", vec[I_FOOD]);
+ pr("%4d", ship.shp_item[I_CIVIL]);
+ pr("%4d", ship.shp_item[I_MILIT]);
+ pr("%4d", ship.shp_item[I_UW]);
+ pr("%4d", ship.shp_item[I_FOOD]);
pr("%3d", ship.shp_nplane);
pr("%3d", ship.shp_nchoppers);