added (optional) tape buttons to insert or play solution tape
[rocksndiamonds.git] / src / events.c
index dd3e88af8721f49039488aba261eb8bc3f51c9ea..c1a5cbc18eb15c9abdc60b8a0a5ff36468a71ee2 100644 (file)
@@ -1675,6 +1675,11 @@ static void HandleKeysSpecial(Key key)
     {
       InsertSolutionTape();
     }
+    else if (is_string_suffix(cheat_input, ":play-solution-tape") ||
+            is_string_suffix(cheat_input, ":pst"))
+    {
+      PlaySolutionTape();
+    }
     else if (is_string_suffix(cheat_input, ":reload-graphics") ||
             is_string_suffix(cheat_input, ":rg"))
     {