summaryrefslogtreecommitdiff
path: root/src/gui/whoisonline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 23:17:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commitc88734cc2b8a0785c23531ce70bf703887aa0c4b (patch)
treecdb4448b0bea29f9d9c61401ce91a00f92e2a5f5 /src/gui/whoisonline.cpp
parentd3994b21fda3e7d8ba417a382fc8f065a7bf1c52 (diff)
downloadplus-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.gz
plus-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.bz2
plus-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.xz
plus-c88734cc2b8a0785c23531ce70bf703887aa0c4b.zip
remove most static methods from Client.
Diffstat (limited to 'src/gui/whoisonline.cpp')
-rw-r--r--src/gui/whoisonline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp
index d454eb2f3..4b1c638ca 100644
--- a/src/gui/whoisonline.cpp
+++ b/src/gui/whoisonline.cpp
@@ -593,7 +593,7 @@ void WhoIsOnline::download()
}
else
{
- if (Client::limitPackets(PACKET_ONLINELIST))
+ if (client->limitPackets(PACKET_ONLINELIST))
Net::getPlayerHandler()->requestOnlineList();
}
}
@@ -691,7 +691,7 @@ void WhoIsOnline::action(const gcn::ActionEvent &event)
}
else
{
- if (Client::limitPackets(PACKET_ONLINELIST))
+ if (client->limitPackets(PACKET_ONLINELIST))
{
mUpdateTimer = cur_time;
Net::getPlayerHandler()->requestOnlineList();