Merge pull request #1050 from nullworks/textmode_fixes

Fix textmode compile issues
This commit is contained in:
LightCat 2020-05-31 16:31:28 +02:00 committed by GitHub
commit a34416e9ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -174,7 +174,7 @@ matrix3x4_t *EntityHitboxCache::GetBones(int numbones)
#else #else
// Textmode bots miss/shoot at nothing when the tf2 bonecache is used // Textmode bots miss/shoot at nothing when the tf2 bonecache is used
PROF_SECTION(bone_setup); 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 #endif
} }
} }

View File

@ -17,7 +17,9 @@
#include "hack.hpp" #include "hack.hpp"
#include "common.hpp" #include "common.hpp"
#include "MiscTemporary.hpp" #include "MiscTemporary.hpp"
#if ENABLE_GUI
#include "menu/GuiInterface.hpp" #include "menu/GuiInterface.hpp"
#endif
#include <link.h> #include <link.h>
#include <pwd.h> #include <pwd.h>