mirror of
https://github.com/glest/glest-source.git
synced 2025-08-28 10:19:55 +02:00
Merge pull request #13 from alketii/master
Disabled button in lobby which holds players name.
This commit is contained in:
@@ -857,7 +857,7 @@ void MenuStateMasterserver::update() {
|
||||
button->setFont(CoreData::getInstance().getDisplayFontSmall());
|
||||
button->setFont3D(CoreData::getInstance().getDisplayFontSmall3D());
|
||||
button->setText(nickList[i]);
|
||||
if(strncmp(&nickList[i][0],"MG_",3) != 0) {
|
||||
if(strncmp(&nickList[i][0],"MG_",3) != 0 || &nickList[i][0] == currentIrcNick) {
|
||||
button->setEnabled(false);
|
||||
button->setEditable(false);
|
||||
button->setCustomTexture(CoreData::getInstance().getCustomTexture());
|
||||
|
Reference in New Issue
Block a user