From 130fe106e6fa004bc919789de58d71572aed8904 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 1 Jun 2024 10:45:38 -0400 Subject: [PATCH] Fix naming --- LEGO1/lego/legoomni/src/common/legoutils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/common/legoutils.cpp b/LEGO1/lego/legoomni/src/common/legoutils.cpp index d95585c9..9a755c43 100644 --- a/LEGO1/lego/legoomni/src/common/legoutils.cpp +++ b/LEGO1/lego/legoomni/src/common/legoutils.cpp @@ -452,10 +452,10 @@ void FUN_1003ef00(MxBool p_enable) // FUNCTION: LEGO1 0x1003ef40 void SetAppCursor(Cursor p_cursor) { - static Uint32 userEvent = SDL_RegisterEvents(1); + static Uint32 g_userEvent = SDL_RegisterEvents(1); SDL_Event event; - event.user.type = userEvent; + event.user.type = g_userEvent; event.user.code = WM_ISLE_SETCURSOR; event.user.data1 = (void*) p_cursor; SDL_PushEvent(&event);