diff --git a/src/entityhitboxcache.cpp b/src/entityhitboxcache.cpp index 3100c5ca..e1dd16fb 100644 --- a/src/entityhitboxcache.cpp +++ b/src/entityhitboxcache.cpp @@ -174,7 +174,7 @@ matrix3x4_t *EntityHitboxCache::GetBones(int numbones) #else // Textmode bots miss/shoot at nothing when the tf2 bonecache is used PROF_SECTION(bone_setup); - bones_setup = RAW_ENT(parent_ref)->SetupBones(bones, numbones, 0x7FF00, bones_setup_time); + bones_setup = RAW_ENT(parent_ref)->SetupBones(bones.data(), numbones, 0x7FF00, bones_setup_time); #endif } } diff --git a/src/hack.cpp b/src/hack.cpp index 34b565a3..614ad7aa 100644 --- a/src/hack.cpp +++ b/src/hack.cpp @@ -17,7 +17,9 @@ #include "hack.hpp" #include "common.hpp" #include "MiscTemporary.hpp" +#if ENABLE_GUI #include "menu/GuiInterface.hpp" +#endif #include #include