Merge pull request #1023 from nullworks/textmode_fixes
Fix some textmode issues
This commit is contained in:
commit
d41ae87553
@ -1,6 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "settings/Bool.hpp"
|
#include "settings/Bool.hpp"
|
||||||
#include "usercmd.hpp"
|
#include "usercmd.hpp"
|
||||||
|
#include <map>
|
||||||
namespace criticals
|
namespace criticals
|
||||||
{
|
{
|
||||||
extern settings::Boolean enabled;
|
extern settings::Boolean enabled;
|
||||||
|
@ -197,10 +197,10 @@ void hack::Hook()
|
|||||||
hooks::panel.Apply();
|
hooks::panel.Apply();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLE_VISUALS
|
|
||||||
hooks::vstd.Set((void *) g_pUniformStream);
|
hooks::vstd.Set((void *) g_pUniformStream);
|
||||||
hooks::vstd.HookMethod(HOOK_ARGS(RandomInt));
|
hooks::vstd.HookMethod(HOOK_ARGS(RandomInt));
|
||||||
hooks::vstd.Apply();
|
hooks::vstd.Apply();
|
||||||
|
#if ENABLE_VISUALS
|
||||||
|
|
||||||
auto chat_hud = g_CHUD->FindElement("CHudChat");
|
auto chat_hud = g_CHUD->FindElement("CHudChat");
|
||||||
while (!(chat_hud = g_CHUD->FindElement("CHudChat")))
|
while (!(chat_hud = g_CHUD->FindElement("CHudChat")))
|
||||||
|
Reference in New Issue
Block a user