unit: Drop ulist member chrp
Commit cd8d742
mechanically combined struct mlist's mcp and struct
llist's llp into struct ulist's chrp, adding type casts to every use.
Not necessary, simply use mchr[] and lchr[] directly.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
eb903207a4
commit
1702349e3d
6 changed files with 33 additions and 38 deletions
|
@ -40,7 +40,6 @@ struct ulist {
|
|||
struct emp_qelem queue; /* list of units */
|
||||
double mobil; /* moving: how much the unit has left
|
||||
ground combat: how much to charge */
|
||||
struct empobj_chr *chrp; /* pointer to characteristics unit */
|
||||
union empobj_storage unit; /* unit */
|
||||
/* Rest used only by ground combat (attsub.c) */
|
||||
coord x, y; /* x,y it came from */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue