summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/tradehandler.cpp8
-rw-r--r--src/net/eathena/generalhandler.cpp2
-rw-r--r--src/net/tmwa/generalhandler.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 9c6f8f387..a0c84c24e 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -86,7 +86,7 @@ void TradeHandler::processTradeResponseContinue(const uint8_t type)
tradeWindow->setCaption(strprintf(_("Trade: You and %s"),
tradePartnerName.c_str()));
tradeWindow->initTrade(tradePartnerName);
- tradeWindow->setVisible(true);
+ tradeWindow->setVisible(Visible_true);
}
break;
case 4: // Trade cancelled
@@ -100,7 +100,7 @@ void TradeHandler::processTradeResponseContinue(const uint8_t type)
if (tradeWindow)
{
- tradeWindow->setVisible(false);
+ tradeWindow->setVisible(Visible_false);
// tradeWindow->clear();
}
PlayerInfo::setTrading(Trading_false);
@@ -132,7 +132,7 @@ void TradeHandler::processTradeCancel(Net::MessageIn &msg A_UNUSED)
NotifyManager::notify(NotifyTypes::TRADE_CANCELLED);
if (tradeWindow)
{
- tradeWindow->setVisible(false);
+ tradeWindow->setVisible(Visible_false);
tradeWindow->reset();
}
PlayerInfo::setTrading(Trading_false);
@@ -143,7 +143,7 @@ void TradeHandler::processTradeComplete(Net::MessageIn &msg A_UNUSED)
NotifyManager::notify(NotifyTypes::TRADE_COMPLETE);
if (tradeWindow)
{
- tradeWindow->setVisible(false);
+ tradeWindow->setVisible(Visible_false);
tradeWindow->reset();
}
PlayerInfo::setTrading(Trading_false);
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index 3c442af82..704f7787d 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -380,7 +380,7 @@ void GeneralHandler::clearHandlers()
void GeneralHandler::gameStarted() const
{
if (inventoryWindow)
- inventoryWindow->setSplitAllowed(false);
+ inventoryWindow->setSplitAllowed(Visible_false);
if (skillDialog)
skillDialog->loadSkills();
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index 548ee7b8f..78052a5f8 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -331,7 +331,7 @@ void GeneralHandler::clearHandlers()
void GeneralHandler::gameStarted() const
{
if (inventoryWindow)
- inventoryWindow->setSplitAllowed(false);
+ inventoryWindow->setSplitAllowed(Visible_false);
if (skillDialog)
skillDialog->loadSkills();