summaryrefslogtreecommitdiffhomepage
path: root/src/hud.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hud.c')
-rw-r--r--src/hud.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hud.c b/src/hud.c
index 8176d63..24d8563 100644
--- a/src/hud.c
+++ b/src/hud.c
@@ -144,7 +144,7 @@ static bool find_toolspanel(void *enginevgui) {
// pointer to the specified panel
if (p[0] == X86_CALL) {
typedef void *(*VCALLCONV GetRootPanel_func)(void *this, int);
- int off = mem_load32(p + 1);
+ int off = mem_loads32(p + 1);
GetRootPanel_func GetRootPanel = (GetRootPanel_func)(p + 5 + off);
toolspanel = GetRootPanel(enginevgui, /*PANEL_TOOLS*/ 3);
return true;