diff options
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Screens/UScreenEditConvert.pas | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Game/Code/Screens/UScreenEditConvert.pas b/Game/Code/Screens/UScreenEditConvert.pas index fe9eab02..d50d546d 100644 --- a/Game/Code/Screens/UScreenEditConvert.pas +++ b/Game/Code/Screens/UScreenEditConvert.pas @@ -108,13 +108,17 @@ begin Result := true; If (PressedDown) Then begin // Key Down + // check normal keys + case WideUpperCase(CharCode)[1] of
+ 'Q': + begin
+ Result := false;
+ Exit;
+ end;
+ end;
+ + // check special keys case PressedKey of - SDLK_Q: - begin - Result := false; - end; - - SDLK_ESCAPE, SDLK_BACKSPACE : begin |