mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-14 00:11:01 +00:00
fixed the Z and 9 keys not being bindable on Linux
This commit is contained in:
parent
24fac5557c
commit
f1bbe75937
2 changed files with 4 additions and 2 deletions
|
@ -6,6 +6,8 @@ chg: on Windows, a fatal error will move the early console window to the foregro
|
||||||
chg: com_hunkMegs doesn't have a maximum value anymore
|
chg: com_hunkMegs doesn't have a maximum value anymore
|
||||||
a value too high would reset it and the engine might fail to load with the default value
|
a value too high would reset it and the engine might fail to load with the default value
|
||||||
|
|
||||||
|
fix: on Linux, the 'Z' and '9' keys could not be bound
|
||||||
|
|
||||||
fix: cl_allowDownload 1 failing on "connect" (error 10047 on Windows)
|
fix: cl_allowDownload 1 failing on "connect" (error 10047 on Windows)
|
||||||
|
|
||||||
fix: cl_allowDownload 1 was using the current directory instead of fs_basepath
|
fix: cl_allowDownload 1 was using the current directory instead of fs_basepath
|
||||||
|
|
|
@ -69,8 +69,8 @@ static int QuakeKeyFromSDLKey( SDL_Keysym key )
|
||||||
const SDL_Keycode sym = key.sym;
|
const SDL_Keycode sym = key.sym;
|
||||||
|
|
||||||
// these ranges map directly to ASCII chars
|
// these ranges map directly to ASCII chars
|
||||||
if ((sym >= SDLK_a && sym < SDLK_z) ||
|
if ((sym >= SDLK_a && sym <= SDLK_z) ||
|
||||||
(sym >= SDLK_0 && sym < SDLK_9))
|
(sym >= SDLK_0 && sym <= SDLK_9))
|
||||||
return (int)sym;
|
return (int)sym;
|
||||||
|
|
||||||
// F1 to F24
|
// F1 to F24
|
||||||
|
|
Loading…
Reference in a new issue