From a87db81b6b7551a248e31e2850577aefda092538 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 May 2015 20:58:21 +0300 Subject: Replace most bools usage in playerinfo to strong typed bools. --- src/dropshortcut.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dropshortcut.cpp') diff --git a/src/dropshortcut.cpp b/src/dropshortcut.cpp index 66a58c6bd..1c860f7d4 100644 --- a/src/dropshortcut.cpp +++ b/src/dropshortcut.cpp @@ -73,12 +73,12 @@ void DropShortcut::dropFirst() const const int cnt = settings.quickDropCounter; if (localPlayer->isServerBuggy()) { - PlayerInfo::dropItem(item, cnt, true); + PlayerInfo::dropItem(item, cnt, Sfx_true); } else { for (int i = 0; i < cnt; i++) - PlayerInfo::dropItem(item, 1, false); + PlayerInfo::dropItem(item, 1, Sfx_false); } } } @@ -134,7 +134,7 @@ bool DropShortcut::dropItem(const int cnt) const Item *const item = inv->findItem(itemId, itemColor); if (item && item->getQuantity() > 0) { - PlayerInfo::dropItem(item, cnt, true); + PlayerInfo::dropItem(item, cnt, Sfx_true); return true; } } @@ -157,7 +157,7 @@ bool DropShortcut::dropItem(const int cnt) const Item *const item = inv->findItem(itemId, itemColor); if (item && item->getQuantity() > 0) { - PlayerInfo::dropItem(item, cnt, true); + PlayerInfo::dropItem(item, cnt, Sfx_true); return true; } } -- cgit v1.2.3-60-g2f50