X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FInput.c;h=42ad1201ae2c8d4e93d35c27545d02b8a032bd70;hb=1e83803d7c99eb5232eab7d48a4194de3cf6f77f;hp=a7ac7798d545d0038d2a881eaa5f0db87cc1c280;hpb=8d3d7d213a9691455a49544624bf380e85f43461;p=rocksndiamonds.git diff --git a/src/game_sp/Input.c b/src/game_sp/Input.c index a7ac7798..42ad1201 100644 --- a/src/game_sp/Input.c +++ b/src/game_sp/Input.c @@ -41,7 +41,7 @@ int subProcessKeyboardInput() { int subProcessKeyboardInput; - int LastKey; + static int LastKey = 0; // On Error GoTo NoKeyboardAccessEH // Call DKeyboard.Acquire @@ -126,6 +126,10 @@ int subProcessKeyboardInput() } else { +#if 1 + printf("::: Input.c: subProcessKeyboardInput(): kill murphy\n"); +#endif + KillMurphyFlag = 1; // ExplodeFieldSP MurphyPosIndex // LeadOutCounter = &H20