Browse Source

game/server: fix AI_TaskFailureCode_t size

pull/71/head
nillerusr 2 years ago
parent
commit
b84ad64171
  1. 2
      game/server/ai_component.h
  2. 2
      game/server/ai_navigator.h
  3. 2
      game/server/ai_task.h

2
game/server/ai_component.h

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

2
game/server/ai_navigator.h

@ -29,7 +29,7 @@ class CAI_WaypointList; @@ -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

2
game/server/ai_task.h

@ -21,7 +21,7 @@ class CStringRegistry; @@ -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
{

Loading…
Cancel
Save