fixed /bind treating single-character key names in a case sensitive manner

This commit is contained in:
myT 2017-09-12 03:27:23 +02:00
parent 6d18a0b5bd
commit d4ae363d71
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
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
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

View File

@ -629,7 +629,7 @@ static int Key_StringToKeynum( const char* str )
return -1;
}
if ( !str[1] ) {
return str[0];
return tolower( str[0] );
}
// check for hex code