Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] [Patch] ai_handicap should return bool
Home

[Freeciv-Dev] [Patch] ai_handicap should return bool

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [Patch] ai_handicap should return bool
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 10 Feb 2002 18:33:54 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

The attached patch makes the return value of ai_handicap a bool. Note
that ai_handicap is only used in bool context so the -1 is "useless".

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Last year, out in California, at a PC users group, there was a demo of
  smart speech recognition software. Before the demonstrator could begin
  his demo, a voice called out from the audience: "Format c, return. Yes,
  return." Damned short demo, it was.

Attachment: handicap1.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]