From 3b87d522122ccd90b00039fe56726e9ecf01def3 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 31 May 2024 17:39:25 -0400 Subject: [PATCH] Fixes --- ISLE/isleapp.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index 3e8bb6be..1dc700da 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -312,10 +312,6 @@ int SDL_AppIterate(void* appstate) int SDL_AppEvent(void* appstate, const SDL_Event* event) { - char asd[123]; - sprintf(asd, "Event: %d\n", event->type); - OutputDebugString(asd); - if (!g_isle) { return 0; } @@ -364,7 +360,7 @@ int SDL_AppEvent(void* appstate, const SDL_Event* event) } if (g_isle->GetDrawCursor()) { - VideoManager()->MoveCursor(Min((int) event->motion.x, 639), Min((int) event->motion.x, 479)); + VideoManager()->MoveCursor(Min((int) event->motion.x, 639), Min((int) event->motion.y, 479)); } break; case SDL_EVENT_MOUSE_BUTTON_DOWN: