From 2b83d70d21eec0b025d26ff5c1b4e49aa5fcabf6 Mon Sep 17 00:00:00 2001 From: BenCat07 Date: Sat, 23 May 2020 15:24:37 +0200 Subject: [PATCH] Fix something i missed which still blocks textmode Sorry for that --- include/hooks/HookedMethods.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hooks/HookedMethods.hpp b/include/hooks/HookedMethods.hpp index 038123ed..eb87477d 100644 --- a/include/hooks/HookedMethods.hpp +++ b/include/hooks/HookedMethods.hpp @@ -66,6 +66,8 @@ DECLARE_HOOKED_METHOD(ServerCmdKeyValues, void, IVEngineClient013 *, KeyValues * // vgui::IPanel DECLARE_HOOKED_METHOD(PaintTraverse, void, vgui::IPanel *, unsigned int, bool, bool); #endif +// IUniformRandomStream +DECLARE_HOOKED_METHOD(RandomInt, int, IUniformRandomStream *, int, int); #if ENABLE_VISUALS // CHudChat DECLARE_HOOKED_METHOD(StartMessageMode, int, CHudBaseChat *, int); @@ -81,8 +83,6 @@ DECLARE_HOOKED_METHOD(SDL_PollEvent, int, SDL_Event *); #if ENABLE_CLIP DECLARE_HOOKED_METHOD(SDL_SetClipboardText, int, const char *); #endif -// IUniformRandomStream -DECLARE_HOOKED_METHOD(RandomInt, int, IUniformRandomStream *, int, int); #endif #if ENABLE_VISUALS || ENABLE_TEXTMODE DECLARE_HOOKED_METHOD(DrawModelExecute, void, IVModelRender *, const DrawModelState_t &, const ModelRenderInfo_t &, matrix3x4_t *);