Author: sveinung Date: Thu Oct 8 17:42:33 2015 New Revision: 30029 URL: http://svn.gna.org/viewcvs/freeciv?rev=30029&view=rev Log: Correct comment about dir users
Order direction is no longer exclusive to ORDER_MOVE. Both ORDER_ACTION_MOVE and ORDER_PERFORM_ACTION can take it. See patch #6398 Modified: trunk/common/unit.h Modified: trunk/common/unit.h URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/unit.h?rev=30029&r1=30028&r2=30029&view=diff ============================================================================== --- trunk/common/unit.h (original) +++ trunk/common/unit.h Thu Oct 8 17:42:33 2015 @@ -101,7 +101,9 @@ int target; /* Only valid for ORDER_PERFORM_ACTION */ int action; - enum direction8 dir; /* Only valid for ORDER_MOVE. */ + /* Valid for ORDER_MOVE, ORDER_ACTION_MOVE and + * ORDER_PERFORM_ACTION. */ + enum direction8 dir; }; struct unit; _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits