mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 07:01:21 +02:00
Merge pull request #96 from alketii/develop
Remove MG_ and _NNN from Players List
This commit is contained in:
@@ -1278,7 +1278,13 @@ namespace Glest
|
|||||||
button->setFont (CoreData::getInstance ().getDisplayFontSmall ());
|
button->setFont (CoreData::getInstance ().getDisplayFontSmall ());
|
||||||
button->setFont3D (CoreData::getInstance ().
|
button->setFont3D (CoreData::getInstance ().
|
||||||
getDisplayFontSmall3D ());
|
getDisplayFontSmall3D ());
|
||||||
|
|
||||||
|
if (strncmp (&nickList[i][0], "ZG_", 3) == 0) {
|
||||||
|
button->setText (nickList[i].substr(3,nickList[i].length()-7));
|
||||||
|
} else {
|
||||||
button->setText (nickList[i]);
|
button->setText (nickList[i]);
|
||||||
|
}
|
||||||
|
|
||||||
if (strncmp (&nickList[i][0], "ZG_", 3) != 0
|
if (strncmp (&nickList[i][0], "ZG_", 3) != 0
|
||||||
|| &nickList[i][0] == currentIrcNick)
|
|| &nickList[i][0] == currentIrcNick)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user