From b8c4a506a726b7e0046ce5e728e7e8393b4246fb Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Wed, 5 Dec 2018 18:10:22 +0200 Subject: [PATCH] - fixed linking of optimized targets CMakeFiles/zdoom.dir/r_utility.cpp.o: In function `R_SetupFrame(FRenderViewpoint&, FViewWindow&, AActor*)': /home/travis/build/coelckers/gzdoom/src/r_utility.cpp:832: undefined reference to `AActor::GetCameraHeight() const' CMakeFiles/zdoom.dir/g_shared/a_action.cpp.o: In function `A_Unblock(AActor*, bool)': /home/travis/build/coelckers/gzdoom/src/g_shared/a_action.cpp:64: undefined reference to `AActor::GetDropItems() const' --- src/g_shared/a_action.cpp | 1 + src/r_utility.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/g_shared/a_action.cpp b/src/g_shared/a_action.cpp index 83b2f3968..5ad79e8e6 100644 --- a/src/g_shared/a_action.cpp +++ b/src/g_shared/a_action.cpp @@ -30,6 +30,7 @@ #include "p_enemy.h" #include "serializer.h" #include "vm.h" +#include "actorinlines.h" //---------------------------------------------------------------------------- // diff --git a/src/r_utility.cpp b/src/r_utility.cpp index a37b61259..52d9a4bd4 100644 --- a/src/r_utility.cpp +++ b/src/r_utility.cpp @@ -61,6 +61,7 @@ #include "sbar.h" #include "vm.h" #include "i_time.h" +#include "actorinlines.h" // EXTERNAL DATA DECLARATIONS ----------------------------------------------