From 4725858ebc709ec9088af2a793b33bc03fa39cda Mon Sep 17 00:00:00 2001 From: Ilya Orlov Date: Tue, 16 Oct 2018 17:54:08 +0300 Subject: [PATCH] xrGame: fix undefined reference to `CScriptGameObject::object() const' --- src/xrGame/level_script.cpp | 1 + src/xrGame/raypick.h | 1 + src/xrGame/script_game_object_script3.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/src/xrGame/level_script.cpp b/src/xrGame/level_script.cpp index 1614ba570cf..c55558ed303 100644 --- a/src/xrGame/level_script.cpp +++ b/src/xrGame/level_script.cpp @@ -10,6 +10,7 @@ #include "Level.h" #include "Actor.h" #include "script_game_object.h" +#include "script_game_object_impl.h" #include "xrAICore/Navigation/PatrolPath/patrol_path_storage.h" #include "xrServer.h" #include "client_spawn_manager.h" diff --git a/src/xrGame/raypick.h b/src/xrGame/raypick.h index b29be449e8d..c7baa3f8ae0 100644 --- a/src/xrGame/raypick.h +++ b/src/xrGame/raypick.h @@ -1,6 +1,7 @@ #pragma once #include "script_game_object.h" +#include "script_game_object_impl.h" #include "xrCDB/xr_collide_defs.h" struct script_rq_result diff --git a/src/xrGame/script_game_object_script3.cpp b/src/xrGame/script_game_object_script3.cpp index 88576341e96..19ef6487886 100644 --- a/src/xrGame/script_game_object_script3.cpp +++ b/src/xrGame/script_game_object_script3.cpp @@ -8,6 +8,7 @@ #include "pch_script.h" #include "script_game_object.h" +#include "script_game_object_impl.h" #include "alife_space.h" #include "script_entity_space.h" #include "movement_manager_space.h"