Skip to content

Commit eeeb1e7

Browse files
committed
xrAICore: remove deprecated function
1 parent 644408b commit eeeb1e7

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/xrAICore/AISpaceBase.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ class XRAICORE_API AISpaceBase
2525
void patrol_path_storage_raw(IReader& stream);
2626
void patrol_path_storage(IReader& stream);
2727
void SetGameGraph(CGameGraph* gameGraph);
28-
[[deprecated("This function is deprecated. Use AISpaceBase::SetGameGraph() instead.")]] void game_graph(
29-
CGameGraph* g)
30-
{
31-
SetGameGraph(g);
32-
}
3328

3429
public:
3530
~AISpaceBase();

src/xrGame/alife_spawn_registry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ void CALifeSpawnRegistry::load(IReader& file_stream, xrGUID* save_guid)
145145

146146
VERIFY(!m_game_graph);
147147
m_game_graph = new CGameGraph(*m_chunk);
148-
ai().game_graph(m_game_graph);
148+
ai().SetGameGraph(m_game_graph);
149149

150150
R_ASSERT2((header().graph_guid() == ai().game_graph().header().guid()) || ignore_save_incompatibility(),
151151
"Spawn doesn't correspond to the graph : REBUILD SPAWN!");

0 commit comments

Comments
 (0)