summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-12 20:16:57 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-12 20:16:57 +0300
commite53c7e4aa23a057f250d6a5d038b3f46b3f8db95 (patch)
tree69ef9b37c07244fbc3579b7bb4c0ae3516c8b837 /src/actions/actions.cpp
parent6c13867fcaa82514f9b113430a00a0db0921977f (diff)
downloadmanaverse-e53c7e4aa23a057f250d6a5d038b3f46b3f8db95.tar.gz
manaverse-e53c7e4aa23a057f250d6a5d038b3f46b3f8db95.tar.bz2
manaverse-e53c7e4aa23a057f250d6a5d038b3f46b3f8db95.tar.xz
manaverse-e53c7e4aa23a057f250d6a5d038b3f46b3f8db95.zip
Fix code style.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 8de4f8793..338a749b0 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1174,8 +1174,7 @@ impHandler(undress)
const size_t sz = pars.size();
if (sz == 0)
{
- if (!target)
- target = localPlayer->getTarget();
+ target = localPlayer->getTarget();
}
else
{