Bug #460 » 0018-Initialize-extra-before-calling-unit_assign_specific.patch
server/actiontools.c | ||
---|---|---|
case ASTK_EXTRA_NOT_THERE:
|
||
if (action_has_result(paction, ACTRES_PILLAGE)) {
|
||
/* Special treatment for "Pillage" */
|
||
struct extra_type *pextra;
|
||
struct extra_type *pextra = NULL;
|
||
enum unit_activity activity = actres_get_activity(paction->result);
|
||
unit_assign_specific_activity_target(actor_unit, &activity, &pextra);
|
- « Previous
- 1
- 2
- Next »