Project

General

Profile

Feature #648787

Make target-city-must-be-known precise

Added by Sveinung Kvilhaugsvik 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Category:
General
Target version:
Start date:
Due date:
% Done:

100%


Description

The rule that a city must be known to a player before he can perform an action to it used to be content when the player knew the city's tile. It was therefore possible to act against an unknown city founded at a tile observed before the city was founded.

Add player_tile_city_id_get() to the Freeciv interface. This makes it possible to check if the city it self is known. Use it to make the rule precise.

0009-Make-target-city-must-be-known-precise.patch View (5.59 KB) Sveinung Kvilhaugsvik, 2017-03-29 12:34 PM

History

#1 Updated by Sveinung Kvilhaugsvik 6 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100

Also available in: Atom PDF