game/server: fix AI_TaskFailureCode_t size

This commit is contained in:
nillerusr 2022-06-05 03:30:44 +03:00
parent 363f4774f1
commit b84ad64171
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
class CAI_BaseNPC;
class CAI_Enemies;
typedef intp AI_TaskFailureCode_t;
typedef int AI_TaskFailureCode_t;
struct Task_t;
//-----------------------------------------------------------------------------

View File

@ -29,7 +29,7 @@ class CAI_WaypointList;
class CAI_Network;
struct AIMoveTrace_t;
struct AILocalMoveGoal_t;
typedef intp AI_TaskFailureCode_t;
typedef int AI_TaskFailureCode_t;
//-----------------------------------------------------------------------------
// Debugging tools

View File

@ -21,7 +21,7 @@ class CStringRegistry;
// ----------------------------------------------------------------------
// Codes are either one of the enumerated types below, or a string (similar to Windows resource IDs)
typedef intp AI_TaskFailureCode_t;
typedef int AI_TaskFailureCode_t;
enum AI_BaseTaskFailureCodes_t : AI_TaskFailureCode_t
{