mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 19:52:25 +01:00
Merge pull request #13 from alketii/master
Disabled button in lobby which holds players name.
This commit is contained in:
commit
40df13461e
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user