diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-03 12:26:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-03 12:26:54 +0300 |
commit | a75b710fbde53288d250d287eb61254e2adb3012 (patch) | |
tree | f7f1d63ebf54b576d503a7dbb56e80213145bb24 /src/dropshortcut.cpp | |
parent | 6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4 (diff) | |
download | plus-a75b710fbde53288d250d287eb61254e2adb3012.tar.gz plus-a75b710fbde53288d250d287eb61254e2adb3012.tar.bz2 plus-a75b710fbde53288d250d287eb61254e2adb3012.tar.xz plus-a75b710fbde53288d250d287eb61254e2adb3012.zip |
User full enum name in packets type.
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 1c860f7d4..0424ef7e8 100644 --- a/src/dropshortcut.cpp +++ b/src/dropshortcut.cpp @@ -56,7 +56,7 @@ void DropShortcut::dropFirst() const if (!localPlayer) return; - if (!PacketLimiter::limitPackets(PACKET_DROP)) + if (!PacketLimiter::limitPackets(PacketType::PACKET_DROP)) return; const int itemId = getItem(0); @@ -101,7 +101,7 @@ void DropShortcut::dropItems(const int cnt) { for (int i = 0; i < sz; i++) { - if (!PacketLimiter::limitPackets(PACKET_DROP)) + if (!PacketLimiter::limitPackets(PacketType::PACKET_DROP)) return; if (dropItem()) n++; |