Bug #343 ยป 0043-Fix-Pillage-Fake-Generalization-on-server-code.patch
| server/unithand.c | ||
|---|---|---|
|
/* Casus Belli for when the activity successfully begins. */
|
||
|
/* TODO: is it more logical to change Casus_Belli_Complete to
|
||
|
* Casus_Belli_Successful_Beginning and trigger it here? */
|
||
|
action_consequence_success(action_by_number(ACTION_PILLAGE),
|
||
|
action_consequence_success(action_by_number(trigger_action),
|
||
|
unit_owner(punit), unit_type_get(punit),
|
||
|
tile_owner(unit_tile(punit)),
|
||
|
unit_tile(punit),
|
||
| server/unittools.c | ||
|---|---|---|
|
/* TODO: is it more logical to put Casus_Belli_Success here, change
|
||
|
* Casus_Belli_Complete to Casus_Belli_Successful_Beginning and
|
||
|
* trigger it when an activity successfully has began? */
|
||
|
action_consequence_complete(action_by_number(ACTION_PILLAGE),
|
||
|
action_consequence_complete(action_by_number(punit->action),
|
||
|
unit_owner(punit),
|
||
|
act_utype,
|
||
|
tile_owner(unit_tile(punit)),
|
||