fixed broken tapes caused by a bugfix (with TAS snap keys) in EM engine
[rocksndiamonds.git] / src / game_em / input.c
index b8e2e663b1f5f96df79356adc6dea8b8220ba33e..4a2be29ec6809e7aeeea376dc1dd689bc8c79e48 100644 (file)
@@ -161,6 +161,10 @@ void readjoy(byte action, struct PLAYER *ply)
       !ply->joy_s &&
       !ply->joy_w)
     ply->joy_snap = snap;
+
+  /* use bug with snap key (mainly TAS keys) sometimes moving the player */
+  if (game_em.use_snap_key_bug)
+    ply->joy_snap = snap;
 }
 
 void SaveEngineSnapshotValues_EM()