X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fscreens.c;h=552879f8a1f2d4c66659b412bb40175b90914e84;hb=98e65bc4626190aba53b6657c2ad61a4cc2dc972;hp=87f1908cce8117f0d3971212a74e412b7cdec320;hpb=e82d8640dfa77aa8fc3cee9d4385dd9419d1bb51;p=rocksndiamonds.git diff --git a/src/screens.c b/src/screens.c index 87f1908c..552879f8 100644 --- a/src/screens.c +++ b/src/screens.c @@ -6898,6 +6898,7 @@ static boolean ConfigureJoystickMapButtonsAndAxes(SDL_Joystick *joystick) controller->width, controller->height, controller_x, controller_y); + SDL_SetSurfaceBlendMode(marker->surface_masked, SDL_BLENDMODE_BLEND); SDL_SetSurfaceAlphaMod(marker->surface_masked, alpha); BlitBitmapMasked(marker, drawto, 0, 0, @@ -7002,6 +7003,8 @@ static boolean ConfigureJoystickMapButtonsAndAxes(SDL_Joystick *joystick) /* leave screen */ success = FALSE; done = TRUE; + + break; } /* undo this step */