summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 21:45:33 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 21:45:33 +0300
commitadc96cc9f4247ceafc5fde66055456494861b139 (patch)
treede2b3d96297bce39f7e487ba135116c5f2aaaf3e /src/being/localplayer.cpp
parentdc6de526dbdf0145fa3ac0a65d485f40b1722199 (diff)
downloadmv-adc96cc9f4247ceafc5fde66055456494861b139.tar.gz
mv-adc96cc9f4247ceafc5fde66055456494861b139.tar.bz2
mv-adc96cc9f4247ceafc5fde66055456494861b139.tar.xz
mv-adc96cc9f4247ceafc5fde66055456494861b139.zip
Remove default parameters from actormanager.cpp
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index e12bdbdf4..d336c0e00 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1614,16 +1614,16 @@ bool LocalPlayer::pickUpItems(int pickUpType)
default:
x1 = x; x2 = x; y1 = y; y2 = y; break;
}
- if (actorManager->pickUpAll(x1, y1, x2, y2))
+ if (actorManager->pickUpAll(x1, y1, x2, y2, false))
status = true;
break;
case 3:
- if (actorManager->pickUpAll(x - 1, y - 1, x + 1, y + 1))
+ if (actorManager->pickUpAll(x - 1, y - 1, x + 1, y + 1, false))
status = true;
break;
case 4:
- if (!actorManager->pickUpAll(x - 1, y - 1, x + 1, y + 1))
+ if (!actorManager->pickUpAll(x - 1, y - 1, x + 1, y + 1, false))
{
if (actorManager->pickUpNearest(x, y, 4))
status = true;
@@ -1635,7 +1635,7 @@ bool LocalPlayer::pickUpItems(int pickUpType)
break;
case 5:
- if (!actorManager->pickUpAll(x - 1, y - 1, x + 1, y + 1))
+ if (!actorManager->pickUpAll(x - 1, y - 1, x + 1, y + 1, false))
{
if (actorManager->pickUpNearest(x, y, 8))
status = true;
@@ -1647,7 +1647,7 @@ bool LocalPlayer::pickUpItems(int pickUpType)
break;
case 6:
- if (!actorManager->pickUpAll(x - 1, y - 1, x + 1, y + 1))
+ if (!actorManager->pickUpAll(x - 1, y - 1, x + 1, y + 1, false))
{
if (actorManager->pickUpNearest(x, y, 90))
status = true;