summaryrefslogtreecommitdiff
path: root/src/gui/models/userstablemodel.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 23:58:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 23:58:39 +0300
commit0a39e956218ca15bf78803f89141c7c9dfcec0d9 (patch)
treeadfc0fcd42792ddad6b3cb8843d6fe0c22170580 /src/gui/models/userstablemodel.h
parent69022cd939e572feadaadf1041ae7dadad782ed6 (diff)
downloadmv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.gz
mv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.bz2
mv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.xz
mv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.zip
Change format in ActorType enum.
Diffstat (limited to 'src/gui/models/userstablemodel.h')
-rw-r--r--src/gui/models/userstablemodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/models/userstablemodel.h b/src/gui/models/userstablemodel.h
index e84333087..45fb8b0bd 100644
--- a/src/gui/models/userstablemodel.h
+++ b/src/gui/models/userstablemodel.h
@@ -107,7 +107,7 @@ class UsersTableModel final : public TableModel,
{
Being *const being = dynamic_cast<Being*>(*i);
- if (being && being->getType() == ActorType::PLAYER
+ if (being && being->getType() == ActorType::Player
&& being != localPlayer && !being->getName().empty())
{
mPlayers.push_back(being);