diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/commands.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index ce4093110..0d3111b59 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1166,11 +1166,11 @@ impHandler(craft) impHandler(npcClipboard) { - int x = 0; - int y = 0; - if (npcHandler) { + int x = 0; + int y = 0; + NpcDialog *const dialog = npcHandler->getCurrentNpcDialog(); if (dialog && parse2Int(event.args, x, y)) |