diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-23 23:17:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:17 +0300 |
commit | c88734cc2b8a0785c23531ce70bf703887aa0c4b (patch) | |
tree | cdb4448b0bea29f9d9c61401ce91a00f92e2a5f5 /src/dropshortcut.cpp | |
parent | d3994b21fda3e7d8ba417a382fc8f065a7bf1c52 (diff) | |
download | manaverse-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.gz manaverse-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.bz2 manaverse-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.xz manaverse-c88734cc2b8a0785c23531ce70bf703887aa0c4b.zip |
remove most static methods from Client.
Diffstat (limited to 'src/dropshortcut.cpp')
-rw-r--r-- | src/dropshortcut.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dropshortcut.cpp b/src/dropshortcut.cpp index 87e992b78..325014823 100644 --- a/src/dropshortcut.cpp +++ b/src/dropshortcut.cpp @@ -98,7 +98,7 @@ void DropShortcut::dropFirst() const if (!player_node) return; - if (!Client::limitPackets(PACKET_DROP)) + if (!client->limitPackets(PACKET_DROP)) return; const int itemId = getItem(0); @@ -143,7 +143,7 @@ void DropShortcut::dropItems(const int cnt) { for (int i = 0; i < sz; i++) { - if (!Client::limitPackets(PACKET_DROP)) + if (!client->limitPackets(PACKET_DROP)) return; if (dropItem()) n++; |