diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-17 21:45:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-17 21:45:33 +0300 |
commit | adc96cc9f4247ceafc5fde66055456494861b139 (patch) | |
tree | de2b3d96297bce39f7e487ba135116c5f2aaaf3e /src/progs/manaplus/actions/actions.cpp | |
parent | dc6de526dbdf0145fa3ac0a65d485f40b1722199 (diff) | |
download | plus-adc96cc9f4247ceafc5fde66055456494861b139.tar.gz plus-adc96cc9f4247ceafc5fde66055456494861b139.tar.bz2 plus-adc96cc9f4247ceafc5fde66055456494861b139.tar.xz plus-adc96cc9f4247ceafc5fde66055456494861b139.zip |
Remove default parameters from actormanager.cpp
Diffstat (limited to 'src/progs/manaplus/actions/actions.cpp')
-rw-r--r-- | src/progs/manaplus/actions/actions.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index 67eefc568..1a3543aba 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -867,7 +867,8 @@ impHandler(attack) { if (args[0] != ':') { - target = actorManager->findNearestByName(args); + target = actorManager->findNearestByName(args, + ActorType::Unknown); } else { @@ -902,7 +903,8 @@ impHandler(targetAttack) { if (args[0] != ':') { - target = actorManager->findNearestByName(args); + target = actorManager->findNearestByName(args, + ActorType::Unknown); } else { @@ -1244,7 +1246,8 @@ impHandler(undress) } else { - target = actorManager->findNearestByName(args); + target = actorManager->findNearestByName(args, + ActorType::Unknown); } } @@ -1824,7 +1827,8 @@ impHandler(kick) { if (args[0] != ':') { - target = actorManager->findNearestByName(args); + target = actorManager->findNearestByName(args, + ActorType::Unknown); } else { |