[Freeciv-Dev] more efficient unit move checking
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
This moves two checks done for each unit move. Previously, it was done for
each transported unit as well as the primary moving unit. Now, these two
checks are done only once for the entire stack of moved units (unit and
units it transported).
This should make the code a tiny amount faster.
Taken from autoattack patch. Will commit soon unless I get comments, so
please look at it.
- Per
efficientmove1.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] more efficient unit move checking,
Per I. Mathisen <=
|
|