game/server: fix AI_TaskFailureCode_t size

This commit is contained in:
nillerusr 2022-06-05 03:30:44 +03:00
parent 4dbffc9549
commit 85c48e9855
3 changed files with 3 additions and 3 deletions

View file

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

View file

@ -29,7 +29,7 @@ class CAI_WaypointList;
class CAI_Network; class CAI_Network;
struct AIMoveTrace_t; struct AIMoveTrace_t;
struct AILocalMoveGoal_t; struct AILocalMoveGoal_t;
typedef intp AI_TaskFailureCode_t; typedef int AI_TaskFailureCode_t;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// Debugging tools // 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) // 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 enum AI_BaseTaskFailureCodes_t : AI_TaskFailureCode_t
{ {