Fix textmode compile issues

This commit is contained in:
BenCat07 2020-05-30 19:47:57 +02:00
parent f3479a9883
commit 68b56e0091
2 changed files with 3 additions and 1 deletions

View File

@ -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
}
}

View File

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