subs: Set struct ulist member supplied properly for attackers

It's set to zero via memset().  Incorrect, but harmless, because it's
not actually used.  Correct it anyway.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2014-01-25 10:42:22 +01:00
parent 5c9d6063a4
commit e62af86066

View file

@ -1075,6 +1075,7 @@ ask_olist(int combat_mode, struct combat *off, struct combat *def,
}
memset(llp, 0, sizeof(struct ulist));
emp_insque(&llp->queue, olist);
llp->supplied = 1;
llp->mobil = mobcost;
llp->unit.land = land;
llp->x = llp->unit.land.lnd_x;