Skip to content

Commit 425ce0a

Browse files
committed
do not include ai_object_location.h in xrGame/StdAfx.h. Fixed "xrAICore/Navigation/ai_object_location.h:31:13: warning: inline function ‘void CAI_ObjectLocation::init()’ used but never defined"
1 parent d3e0a10 commit 425ce0a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/xrGame/StdAfx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
#include "xrGame/ai/monsters/monster_corpse_manager.h" // ~130
234234
#include "xrGame/ai/stalker/ai_stalker.h"
235235
#include "Include/xrRender/WallMarkArray.h" // ~80
236-
#include "xrAICore/Navigation/ai_object_location.h" // ~95, very heavy to compile
236+
//#include "xrAICore/Navigation/ai_object_location.h" // ~95, very heavy to compile
237237
#include "xrAICore/Navigation/graph_engine.h" // ~80, VERY heavy to compile
238238
#include "xrAICore/Navigation/PatrolPath/patrol_path.h" // ~80, VERY heavy to compile
239239
#ifdef DEBUG

src/xrGame/memory_space_impl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "Level.h"
1414
#include "ai_space.h"
1515
#include "xrAICore/Navigation/ai_object_location.h"
16+
#include "xrAICore/Navigation/ai_object_location_impl.h"
1617
#include "xrAICore/Navigation/level_graph.h"
1718

1819
template <typename T>

0 commit comments

Comments
 (0)