summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
diff options
context:
space:
mode:
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 edd3efbc7..0afe6f90c 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -291,7 +291,7 @@ void ShopWindow::startTrade()
return;
const Being *const being = actorManager->findBeingByName(
- mTradeNick, Being::PLAYER);
+ mTradeNick, ActorType::PLAYER);
tradeWindow->clear();
if (mTradeMoney)
{
@@ -695,7 +695,7 @@ void ShopWindow::processRequest(const std::string &nick, std::string data,
{
if (!player_node || !mTradeNick.empty() || PlayerInfo::isTrading()
|| !actorManager
- || !actorManager->findBeingByName(nick, Being::PLAYER))
+ || !actorManager->findBeingByName(nick, ActorType::PLAYER))
{
return;
}