diff options
-rw-r--r-- | crawl-ref/source/direct.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc index ff7c5d4162..07d0da5cd3 100644 --- a/crawl-ref/source/direct.cc +++ b/crawl-ref/source/direct.cc @@ -269,7 +269,7 @@ static void direction_again(dist& moves, targeting_type restricts, ASSERT(targ_types == 1); // Discard keys until we get to a set-target command - command_type key_command; + command_type key_command = CMD_NO_CMD; while (crawl_state.is_replaying_keys()) { |