Fix naming

This commit is contained in:
Christian Semmler 2024-06-01 10:45:38 -04:00
parent 214981773b
commit 130fe106e6

View File

@ -452,10 +452,10 @@ void FUN_1003ef00(MxBool p_enable)
// FUNCTION: LEGO1 0x1003ef40 // FUNCTION: LEGO1 0x1003ef40
void SetAppCursor(Cursor p_cursor) void SetAppCursor(Cursor p_cursor)
{ {
static Uint32 userEvent = SDL_RegisterEvents(1); static Uint32 g_userEvent = SDL_RegisterEvents(1);
SDL_Event event; SDL_Event event;
event.user.type = userEvent; event.user.type = g_userEvent;
event.user.code = WM_ISLE_SETCURSOR; event.user.code = WM_ISLE_SETCURSOR;
event.user.data1 = (void*) p_cursor; event.user.data1 = (void*) p_cursor;
SDL_PushEvent(&event); SDL_PushEvent(&event);