Complete.Org: Mailing Lists: Archives: freeciv-ai: August 2004:
[freeciv-ai] aiair uses set_unit_activity() directly
Home

[freeciv-ai] aiair uses set_unit_activity() directly

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] aiair uses set_unit_activity() directly
From: Per Inge Mathisen <per@xxxxxxxxxxx>
Date: Sun, 29 Aug 2004 13:53:59 +0000 (GMT)

We should whenever possible gate all our server calls through the
appropriate handle_*() functions, instead of doing direct changes to the
server state.

This means, for example, handle_unit_activity_request() instead of
set_unit_activity().

The attached patch fixes two such issues in aiair.c

  - Per

Attachment: aiair1.diff
Description: Text document


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