- moved the hard coded M (more chat text) hotkey to use the already defined hotkey in glestuser.ini
This commit is contained in:
parent
2ea8b69e22
commit
792150e3dd
|
@ -994,9 +994,11 @@ void MenuStateConnectedGame::keyDown(char key) {
|
|||
//send key to the chat manager
|
||||
chatManager.keyDown(key);
|
||||
if(!chatManager.getEditEnabled()){
|
||||
if(key=='M'){
|
||||
showFullConsole= true;
|
||||
}
|
||||
Config &configKeys = Config::getInstance(std::pair<ConfigType,ConfigType>(cfgMainKeys,cfgUserKeys));
|
||||
|
||||
if(key == configKeys.getCharKey("ShowFullConsole")) {
|
||||
showFullConsole= true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1029,11 +1031,14 @@ void MenuStateConnectedGame::keyPress(char c) {
|
|||
void MenuStateConnectedGame::keyUp(char key) {
|
||||
if(activeInputLabel==NULL) {
|
||||
chatManager.keyUp(key);
|
||||
|
||||
Config &configKeys = Config::getInstance(std::pair<ConfigType,ConfigType>(cfgMainKeys,cfgUserKeys));
|
||||
|
||||
if(chatManager.getEditEnabled()){
|
||||
//send key to the chat manager
|
||||
chatManager.keyUp(key);
|
||||
}
|
||||
else if(key== 'M'){
|
||||
else if(key== configKeys.getCharKey("ShowFullConsole")) {
|
||||
showFullConsole= false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1903,7 +1903,9 @@ void MenuStateCustomGame::keyDown(char key) {
|
|||
//send key to the chat manager
|
||||
chatManager.keyDown(key);
|
||||
if(!chatManager.getEditEnabled()) {
|
||||
if(key=='M') {
|
||||
Config &configKeys = Config::getInstance(std::pair<ConfigType,ConfigType>(cfgMainKeys,cfgUserKeys));
|
||||
|
||||
if(key == configKeys.getCharKey("ShowFullConsole")) {
|
||||
showFullConsole= true;
|
||||
}
|
||||
}
|
||||
|
@ -1940,11 +1942,14 @@ void MenuStateCustomGame::keyPress(char c) {
|
|||
void MenuStateCustomGame::keyUp(char key) {
|
||||
if(activeInputLabel==NULL) {
|
||||
chatManager.keyUp(key);
|
||||
|
||||
Config &configKeys = Config::getInstance(std::pair<ConfigType,ConfigType>(cfgMainKeys,cfgUserKeys));
|
||||
|
||||
if(chatManager.getEditEnabled()){
|
||||
//send key to the chat manager
|
||||
chatManager.keyUp(key);
|
||||
}
|
||||
else if(key== 'M'){
|
||||
else if(key == configKeys.getCharKey("ShowFullConsole")) {
|
||||
showFullConsole= false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user