Don't store ship stats in struct shpstr
New shp_armor(), shp_speed(), shp_visib(), shp_frnge(), shp_glim() replace the struct shpstr members with the same names.
This commit is contained in:
parent
ffc5d0cfd7
commit
f86d726406
13 changed files with 73 additions and 45 deletions
|
@ -63,8 +63,8 @@ sstat(void)
|
|||
pr(" %3d%% %4d %3d %3d %3d %3d %3d",
|
||||
ship.shp_effic,
|
||||
ship.shp_tech,
|
||||
ship.shp_armor,
|
||||
ship.shp_speed, ship.shp_visib, ship.shp_frnge, ship.shp_glim);
|
||||
shp_armor(&ship), shp_speed(&ship), shp_visib(&ship),
|
||||
shp_frnge(&ship), shp_glim(&ship));
|
||||
pr("\n");
|
||||
}
|
||||
if (nships == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue