Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtacles committed May 31, 2024
1 parent 215570b commit 3b87d52
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ISLE/isleapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 3b87d52

Please sign in to comment.