subs: Split unit_put() into shp_put() and lnd_put() again
Commit d94d269
combined them into unit_put(), but that has turned out
not to be useful. Split them again.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
62b9399cdf
commit
b5ffc1ca49
8 changed files with 52 additions and 41 deletions
|
@ -1959,7 +1959,7 @@ att_fight(int combat_mode, struct combat *off, struct emp_qelem *olist,
|
|||
send_reacting_units_home(dlist);
|
||||
|
||||
/* putland the defending land */
|
||||
unit_put(dlist, 0);
|
||||
lnd_put(dlist, 0);
|
||||
|
||||
/* putland the attacking land */
|
||||
put_oland(olist);
|
||||
|
@ -2340,7 +2340,7 @@ move_in_land(int combat_mode, struct combat *off, struct emp_qelem *olist,
|
|||
}
|
||||
if (QEMPTY(olist))
|
||||
return;
|
||||
unit_put(olist, 0);
|
||||
lnd_put(olist, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue