mirror of
https://github.com/celisej567/source-engine.git
synced 2026-09-19 20:09:06 +03:00
game/server: fix some Asan issues
This commit is contained in:
@@ -84,12 +84,14 @@ public:
|
||||
// Purpose: Stores a node graph through which an AI may pathfind
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
class CAI_Network : public IPartitionEnumerator
|
||||
class CAI_Network : public IPartitionEnumerator, public IEntityListener
|
||||
{
|
||||
public:
|
||||
CAI_Network();
|
||||
~CAI_Network();
|
||||
|
||||
void OnEntityDeleted( CBaseEntity *pEntity );
|
||||
|
||||
CAI_Node * AddNode( const Vector &origin, float yaw ); // Returns a new node in the network
|
||||
CAI_Link * CreateLink( int srcID, int destID, CAI_DynamicLink *pDynamicLink = NULL );
|
||||
|
||||
@@ -128,6 +130,8 @@ public:
|
||||
|
||||
CAI_Node** AccessNodes() const { return m_pAInode; }
|
||||
|
||||
|
||||
|
||||
private:
|
||||
friend class CAI_NetworkManager;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user