summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
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/windows/shopwindow.cpp
parent69022cd939e572feadaadf1041ae7dadad782ed6 (diff)
downloadmanaverse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.gz
manaverse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.bz2
manaverse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.xz
manaverse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.zip
Change format in ActorType enum.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r--src/gui/windows/shopwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp
index 96ac002fa..3645ccc9b 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -299,7 +299,7 @@ void ShopWindow::startTrade()
return;
const Being *const being = actorManager->findBeingByName(
- mTradeNick, ActorType::PLAYER);
+ mTradeNick, ActorType::Player);
tradeWindow->clear();
if (mTradeMoney)
{
@@ -703,7 +703,7 @@ void ShopWindow::processRequest(const std::string &nick, std::string data,
{
if (!localPlayer || !mTradeNick.empty() || PlayerInfo::isTrading()
|| !actorManager
- || !actorManager->findBeingByName(nick, ActorType::PLAYER))
+ || !actorManager->findBeingByName(nick, ActorType::Player))
{
return;
}