mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-02-02 05:32:14 +00:00
fixed /bind treating single-character key names in a case sensitive manner
This commit is contained in:
parent
6d18a0b5bd
commit
d4ae363d71
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
|
|
||||||
DD Mmm 17 - 1.49
|
DD Mmm 17 - 1.49
|
||||||
|
|
||||||
|
fix: /bind was treating single-character key names in a case sensitive manner
|
||||||
|
|
||||||
add: new CNQ3 download system that uses checksums to get the right pak files
|
add: new CNQ3 download system that uses checksums to get the right pak files
|
||||||
the CNQ3 download system will use the WorldSpawn map server for inexact queries
|
the CNQ3 download system will use the WorldSpawn map server for inexact queries
|
||||||
(when loading demos or using /dlmap) when the CNQ3 map server doesn't have the file
|
(when loading demos or using /dlmap) when the CNQ3 map server doesn't have the file
|
||||||
|
|
|
@ -629,7 +629,7 @@ static int Key_StringToKeynum( const char* str )
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if ( !str[1] ) {
|
if ( !str[1] ) {
|
||||||
return str[0];
|
return tolower( str[0] );
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for hex code
|
// check for hex code
|
||||||
|
|
Loading…
Reference in a new issue