X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fevents.c;h=08e571d17427f418b066613bde349cb57c747b6e;hb=38f700d51edfba27dc23f89530d8d0c2f6ddd1c3;hp=4755d51ff57dc975ba1a27f91d45f02f7847fe2f;hpb=9c4b703ca8d2d27df28d74f40e5f2c7515b1ca51;p=rocksndiamonds.git diff --git a/src/events.c b/src/events.c index 4755d51f..08e571d1 100644 --- a/src/events.c +++ b/src/events.c @@ -304,7 +304,8 @@ void HandleMouseCursor() cursor_inside_playfield && DelayReached(&special_cursor_delay, special_cursor_delay_value)) { - if (level.game_engine_type != GAME_ENGINE_TYPE_MM) + if (level.game_engine_type != GAME_ENGINE_TYPE_MM || + tile_cursor.enabled) SetMouseCursor(CURSOR_PLAYFIELD); } } @@ -416,6 +417,8 @@ void SetPlayerMouseAction(int mx, int my, int button) if (button && !motion_status) TapeTogglePause(TAPE_TOGGLE_MANUAL); } + + SetTileCursorXY(lx, ly); } void SleepWhileUnmapped()