This commit is contained in:
Christian Semmler 2024-05-31 17:39:25 -04:00
parent 215570be21
commit 3b87d52212

View File

@ -312,10 +312,6 @@ int SDL_AppIterate(void* appstate)
int SDL_AppEvent(void* appstate, const SDL_Event* event) int SDL_AppEvent(void* appstate, const SDL_Event* event)
{ {
char asd[123];
sprintf(asd, "Event: %d\n", event->type);
OutputDebugString(asd);
if (!g_isle) { if (!g_isle) {
return 0; return 0;
} }
@ -364,7 +360,7 @@ int SDL_AppEvent(void* appstate, const SDL_Event* event)
} }
if (g_isle->GetDrawCursor()) { 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; break;
case SDL_EVENT_MOUSE_BUTTON_DOWN: case SDL_EVENT_MOUSE_BUTTON_DOWN: