Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2006:
[Freeciv-Dev] (PR#19823) wrong preposition in attack message
Home

[Freeciv-Dev] (PR#19823) wrong preposition in attack message

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#19823) wrong preposition in attack message
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Sun, 20 Aug 2006 09:25:37 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=19823 >


SVN V21 20 AUG 2006 GTK2

If an attacker attacks a ship which is inside a city, and the attacker
succeed, the ship dies, this is reported as 'at <cityname>' not 'in
<cityname>', other than the comment in the code suggests:

/**************************************************************************
  Returns a pointer to a (static) string which gives an informational
  message about location (x,y), in terms of cities known by pplayer.
  One of:
    "in Foo City"  or  "at Foo City" (see below)
    "outside Foo City"
    "near Foo City"
    "" (if no cities known)
  There are two variants for the first case, one when something happens
  inside the city, otherwise when it happens "at" but "outside" the
city.
  Eg, when an attacker fails, the attacker dies "at" the city, but
  not "in" the city (since the attacker never made it in).
  Don't call this function directly; use the wrappers below.
**************************************************************************/
static char *get_location_str(struct player *pplayer, struct tile
*ptile, bool use_at)

Christian

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#19823) wrong preposition in attack message, Christian Knoke <=