(svn r16150) -Fix [NoAI]: Change WAYPOINT_INVALID to 0xFFFF from -1 as that's the value the AIs got (due to casting).

Clarify some api documentation.
This commit is contained in:
yexo
2009-04-25 22:57:15 +00:00
parent d8bc98d5de
commit 486e5b4bfe
3 changed files with 7 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ public:
static const char *GetClassName() { return "AIWaypoint"; }
enum SpecialWaypointIDs {
WAYPOINT_INVALID = -1, //!< An invalid WaypointID.
WAYPOINT_INVALID = 0xFFFF, //!< An invalid WaypointID.
};
/**