diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-01 20:00:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-01 20:00:40 +0300 |
commit | 1ba44aeb62414ea349e462b6d4fccbaac00be115 (patch) | |
tree | 6822927e50012b758548e7e4ba84d26051ff21f4 /src/dropshortcut.cpp | |
parent | 69d405520c933b2f4c659ea6af00eb4bb7a4512f (diff) | |
download | plus-1ba44aeb62414ea349e462b6d4fccbaac00be115.tar.gz plus-1ba44aeb62414ea349e462b6d4fccbaac00be115.tar.bz2 plus-1ba44aeb62414ea349e462b6d4fccbaac00be115.tar.xz plus-1ba44aeb62414ea349e462b6d4fccbaac00be115.zip |
Fix drop counter if drop item from any slot and buggy servers protection activated.
Diffstat (limited to 'src/dropshortcut.cpp')
-rw-r--r-- | src/dropshortcut.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dropshortcut.cpp b/src/dropshortcut.cpp index 79f895490..5b01f7f4f 100644 --- a/src/dropshortcut.cpp +++ b/src/dropshortcut.cpp @@ -133,6 +133,13 @@ void DropShortcut::dropItems(int cnt) if (!player_node) return; + + if (player_node->isServerBuggy()) + { + dropItem(player_node->getQuickDropCounter()); + return; + } + int n = 0; for (int f = 0; f < 9; f++) { |