diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-12 21:39:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-12 21:39:10 +0300 |
commit | 28a73274cc829861dd7a0994c4f837013a239ad0 (patch) | |
tree | b7dbc0d25ec179f056ae074f2609739e05d782b9 /src/gui/socialwindow.cpp | |
parent | 395c5bd3ebe27f6dfc4d02c644e3c098caafcb09 (diff) | |
download | manaplus-28a73274cc829861dd7a0994c4f837013a239ad0.tar.gz manaplus-28a73274cc829861dd7a0994c4f837013a239ad0.tar.bz2 manaplus-28a73274cc829861dd7a0994c4f837013a239ad0.tar.xz manaplus-28a73274cc829861dd7a0994c4f837013a239ad0.zip |
disable native guild support for "new" tmw server.
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r-- | src/gui/socialwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index ffbbd498c..8b5e1024f 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -1538,6 +1538,9 @@ void SocialWindow::action(const gcn::ActionEvent &event) } else if (eventId == "create guild") { + if (tmwServerVersion > 0) + return; + std::string name = mGuildCreateDialog->getText(); if (name.size() > 16) |