Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #913516

closed

FIXED: Capture Units won't trigger Casus Belli

Added by Lexxie L over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Server
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

unithand.c::do_capture_units(...)

line:360

/* May cause an incident */
action_consequence_success(paction, pplayer,
unit_owner(to_capture),
pdesttile, victim_link);

This incorrectly identifies the victim as the owner. Because the unit has already been captured, unit_owner(to_capture) has now become the offender who captured the unit. This eventually causes action_consequence_success to fail in making casus belli.

FIX: change unit_owner(to_capture) to: uplayer


Files

Actions #1

Updated by Marko Lindqvist over 2 years ago

Actions #2

Updated by Marko Lindqvist over 2 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF