[Freeciv-Dev] Sentry units when they board a ship
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
It turned out that it was bad testing that caused me to think my patch didn't
work; Very reassuring :)
Feel free to wait adding it to after 1.10 shipped, but I feel it doesn't carry
much risk.
So here it is; still a 2 lines code patch :)
-Thue
ps: note that currently units aboard ships are sentry'ed as part of the function
void update_unit_activity(struct player *pplayer, struct unit *punit)
in server/unitfunc.c; but this means that if fx an explorer board a ship and
still have moves left he will remain in focus, cause update_unit_activity is
only called between turns. My patch changes that.
sentry_on_ship.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Sentry units when they board a ship,
Thue Janus Kristensen <=
|
|