diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-10 23:58:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-10 23:58:39 +0300 |
commit | 0a39e956218ca15bf78803f89141c7c9dfcec0d9 (patch) | |
tree | adfc0fcd42792ddad6b3cb8843d6fe0c22170580 /src/gui/widgets/tabs | |
parent | 69022cd939e572feadaadf1041ae7dadad782ed6 (diff) | |
download | mv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.gz mv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.bz2 mv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.xz mv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.zip |
Change format in ActorType enum.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/socialfriendstab.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/socialplayerstab.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/socialfriendstab.h b/src/gui/widgets/tabs/socialfriendstab.h index f483a73ca..baaa57595 100644 --- a/src/gui/widgets/tabs/socialfriendstab.h +++ b/src/gui/widgets/tabs/socialfriendstab.h @@ -103,7 +103,7 @@ class SocialFriendsTab final : public SocialTab FOR_EACHP (StringVectCIter, it, players) { Avatar *const ava = new Avatar(*it); - if (actorManager->findBeingByName(*it, ActorType::PLAYER) + if (actorManager->findBeingByName(*it, ActorType::Player) || players2.find(*it) != players2.end()) { ava->setOnline(true); diff --git a/src/gui/widgets/tabs/socialplayerstab.h b/src/gui/widgets/tabs/socialplayerstab.h index 78c03feb4..56580300b 100644 --- a/src/gui/widgets/tabs/socialplayerstab.h +++ b/src/gui/widgets/tabs/socialplayerstab.h @@ -87,7 +87,7 @@ class SocialPlayersTab final : public SocialTab } } const Being *const being = actorManager->findBeingByName( - name, ActorType::PLAYER); + name, ActorType::Player); if (being) { avatar->setDamageHp(being->getDamageTaken()); @@ -108,7 +108,7 @@ class SocialPlayersTab final : public SocialTab return; avatar->setDamageHp(0); Being *const being = actorManager->findBeingByName( - name, ActorType::PLAYER); + name, ActorType::Player); if (being) being->setDamageTaken(0); |