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...

Feature #877366

is_action_possible(): simplify "Found City"

Added by Sveinung Kvilhaugsvik about 2 years ago. Updated about 2 years ago.

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

0%

Estimated time:

Description

Stop using city_build_here_test() in is_action_possible(). With the requirements of absence of the NoCities terrain flag on the target terrain is added to the action enabler only one check from city_build_here_test() is needed. Factor it out to citymindist_prevents_city_on_tile() and use it directly.


Related issues

Blocked by Freeciv - Feature #877190: Make the no NoCities flag hard req obligatoryClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Sveinung Kvilhaugsvik about 2 years ago

  • Blocked by Feature #877190: Make the no NoCities flag hard req obligatory added

#2 Updated by Sveinung Kvilhaugsvik about 2 years ago

  • Blocks Feature #877369: expl_act_not_enabl(): direct citymindist detect added

#3 Updated by Sveinung Kvilhaugsvik about 2 years ago

  • Blocks deleted (Feature #877369: expl_act_not_enabl(): direct citymindist detect)

#5 Updated by Sveinung Kvilhaugsvik about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF