summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mana.cbp2
-rw-r--r--src/beingmanager.cpp2
-rw-r--r--src/gui/socialwindow.cpp6
-rw-r--r--src/net/tmwa/partyhandler.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/mana.cbp b/mana.cbp
index 459a660c..c855a9a9 100644
--- a/mana.cbp
+++ b/mana.cbp
@@ -137,7 +137,6 @@
<Unit filename="src\effectmanager.h" />
<Unit filename="src\emoteshortcut.cpp" />
<Unit filename="src\emoteshortcut.h" />
- <Unit filename="src\engine.h" />
<Unit filename="src\equipment.h" />
<Unit filename="src\flooritem.cpp" />
<Unit filename="src\flooritem.h" />
@@ -369,7 +368,6 @@
<Unit filename="src\keyboardconfig.h" />
<Unit filename="src\localplayer.cpp" />
<Unit filename="src\localplayer.h" />
- <Unit filename="src\lockedarray.h" />
<Unit filename="src\log.cpp" />
<Unit filename="src\log.h" />
<Unit filename="src\main.cpp" />
diff --git a/src/beingmanager.cpp b/src/beingmanager.cpp
index 656b297e..931e4579 100644
--- a/src/beingmanager.cpp
+++ b/src/beingmanager.cpp
@@ -165,7 +165,7 @@ Being *BeingManager::findBeingByName(const std::string &name,
i != i_end; ++i)
{
Being *being = (*i);
- if (being->getName() == name &&
+ if (!compareStrI(being->getName(),name) &&
(type == Being::UNKNOWN || type == being->getType()))
return being;
}
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 3d8afa44..290fd557 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -498,7 +498,8 @@ void SocialWindow::action(const gcn::ActionEvent &event)
if (name.size() > 16)
{
- // TODO : State too many characters in input.
+ localChatTab->chatLog(_("Creating guild failed, please choose a "
+ "shorter name."), BY_SERVER);
return;
}
@@ -518,7 +519,8 @@ void SocialWindow::action(const gcn::ActionEvent &event)
if (name.size() > 16)
{
- // TODO : State too many characters in input.
+ localChatTab->chatLog(_("Creating party failed, please choose a "
+ "shorter name."), BY_SERVER);
return;
}
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp
index 76108e9c..a88a27b6 100644
--- a/src/net/tmwa/partyhandler.cpp
+++ b/src/net/tmwa/partyhandler.cpp
@@ -333,7 +333,7 @@ void PartyHandler::invite(const std::string &name)
{
invite((Player *)invitee);
partyTab->chatLog(strprintf(_("Invited user %s to party."),
- name.c_str()), BY_SERVER);
+ invitee->getName().c_str()), BY_SERVER);
}
else if (partyTab)
{