summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-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
{