Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2000:
[Freeciv-Dev] Re: [PATCH] Auto-end turn when all units moved
Home

[Freeciv-Dev] Re: [PATCH] Auto-end turn when all units moved

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Daniel Zinsli <s830@xxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] Auto-end turn when all units moved
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Sat, 11 Mar 2000 14:23:06 -0500

At 2000/03/01 15:47 , Daniel Zinsli wrote:
>This patch will automatically end the turn when all you units have been
>moved.
>
>I think. :-)
>
>I've added a new option "auto_end_turn" that is off by default. When set
>to 1, it will automatically end the turn.
>
>Can someone re-check my logic?

I believe the basic logic is correct.

Here's an updated patch.  I did rearrange the code a bit (just being
careful), but it should have no effect on the operation of the patch.
Also, I added a comment.

Attachment: auto-end-turn-2.diff
Description: Text document

jjm

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