[Freeciv-Dev] Re: (PR#7107) Units move before game_advance_year
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7107 >
On Tue, 16 Dec 2003, Michael Kirzinger wrote:
> I'm not sure if this has been brought up before, but any player
> controlled unit set to ai control moves before the turn is advanced.
> This is due to the fact that the unit move points are restored and then
> are moved for the next turn, during end_turn (in srv_main.c), before the
> turn counter is increased.
I don't quite see what you are getting at here. The end of turn sequence
goes as follows:
auto_settlers();
auto_attack();
end_turn();
game_advance_year();
Unit move points are restored in end_turn(), and auto-settlers are moved
before this point. Auto-explorers are moved immediately, not at end of
turn.
- Per
|
|