From: Holger Schemel Date: Fri, 19 Apr 2002 22:05:22 +0000 (+0200) Subject: rnd-20020420-1-src X-Git-Tag: 2.1.0^2~56 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=5361c043c5668c9801b4682e0691d34ec428545f;p=rocksndiamonds.git rnd-20020420-1-src --- diff --git a/src/editor.c b/src/editor.c index 920f0861..8e2258fc 100644 --- a/src/editor.c +++ b/src/editor.c @@ -4048,7 +4048,7 @@ void HandleLevelEditorKeyInput(Key key) ClickOnGadget(level_editor_gadget[id], button); else if (letter == '.') ClickOnGadget(level_editor_gadget[GADGET_ID_SINGLE_ITEMS], button); - else if (key == KSYM_space || key == KSYM_Return) + else if (key == KSYM_Return || key == setup.shortcut.toggle_pause) ClickOnGadget(level_editor_gadget[GADGET_ID_TEST], button); else for (i=0; ishortcut.save_game = DEFAULT_KEY_SAVE_GAME; si->shortcut.load_game = DEFAULT_KEY_LOAD_GAME; + si->shortcut.toggle_pause = DEFAULT_KEY_TOGGLE_PAUSE; for (i=0; i