[Freeciv-Dev] more handle_unit_move_request() cleanup
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
After this one the function is actually understandable and readable :P.
Try to compare it from before this and my previous patch and after this
patch :)
Removes a few unneccesary checks for unit aliveness.
Add one new feature: If the unit is on a goto and is trying to attack a
unit, it will abort unless on the very last step of the goto. Not
perfect, but a quick fix for most accidental attacks. (this will not
interfeare with the AI)
-Thue
handle_unit_move_request-May-05.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] more handle_unit_move_request() cleanup,
Thue Janus Kristensen <=
|
|