fixed bug in single button handling causing broken tapes (EM engine)
[rocksndiamonds.git] / src / events.c
index 80917b02007916c1b8957cc440b046b75bd32b3b..b450c2b0d547a79f587da1a82cd8821ed83bb86f 100644 (file)
@@ -1560,9 +1560,6 @@ void HandleKey(Key key, int key_status)
     static boolean element_dropped[MAX_PLAYERS] = { FALSE,FALSE,FALSE,FALSE };
     int pnr;
 
-    /* initialize unifying snap and drop buttons (EM engine) */
-    game_em.use_single_button = game_em.use_single_button_initial;
-
     for (pnr = 0; pnr < MAX_PLAYERS; pnr++)
     {
       byte key_action = 0;
@@ -1609,9 +1606,6 @@ void HandleKey(Key key, int key_status)
 
       if (tape.single_step && tape.recording && tape.pausing)
       {
-       /* do not unify snap and drop buttons in single-step mode (EM engine) */
-       game_em.use_single_button = FALSE;
-
        if (key_status == KEY_PRESSED && key_action & KEY_MOTION)
        {
          TapeTogglePause(TAPE_TOGGLE_AUTOMATIC);