aboutsummaryrefslogtreecommitdiff
path: root/primedev/server/ai_navmesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/server/ai_navmesh.cpp')
-rw-r--r--primedev/server/ai_navmesh.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/primedev/server/ai_navmesh.cpp b/primedev/server/ai_navmesh.cpp
new file mode 100644
index 00000000..966726b2
--- /dev/null
+++ b/primedev/server/ai_navmesh.cpp
@@ -0,0 +1,6 @@
+#include "ai_navmesh.h"
+
+ON_DLL_LOAD("server.dll", ServerAiNavMesh, (CModule module))
+{
+ g_pNavMesh = module.Offset(0x105F5D0).RCast<dtNavMesh**>();
+}