[Freeciv-Dev] Re: [PATCH] Unit movement
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Ideally, the client should check the validity of a goto
request before sending it to server. Any error message
to the user should be produced by the client.
Of course, a server should double check again upon receive.
If a goto request targets some tile unknown/fogged/ZOCed
to the player, the server should move the unit to the
"closest" tile reachable by the requested unit and
return the unit to ACTIVITY_IDLE. If the unit is making
illegal move, the server should just silently ignore it.
(Not failing assertion as what it does now when a nasty
client try to switch to an invalid government!!!!!).
---------------------------------------------------------
Get free personalized email at http://geocities.iname.com
- [Freeciv-Dev] Re: [PATCH] Unit movement,
iquin <=
|
|