Bugs item #1668874, was opened at 2007-02-26 20:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1668874&group_id=132078

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tpserver-cpp
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: nash (nash)
Assigned to: Lee Begg (llnz)
Summary: minisec rules: move.cpp Off by one error in divide

Initial Comment:
move.cpp +66
return (int)(distance / max_speed) + 1;

If distance is a multiple of max_speed it returns 1 too high.
In particular it takes 1 turn to move 0 units.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1668874&group_id=132078
_______________________________________________
tp-bugs mailing list
[email protected]
http://mail.thousandparsec.net/cgi-bin/mailman/listinfo/tp-bugs

Reply via email to