diff options
Diffstat (limited to 'src/dungeon.cc')
-rw-r--r-- | src/dungeon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dungeon.cc b/src/dungeon.cc index 4e792266..19d9907f 100644 --- a/src/dungeon.cc +++ b/src/dungeon.cc @@ -3727,7 +3727,7 @@ static void process_command(void) msg_print("To flee the ambush you have to reach the edge of the map."); } /* TODO: make the above stuff use this hook */ - else if (!process_hooks(HOOK_FORBID_TRAVEL, "()")) + else if (!process_hooks_new(HOOK_FORBID_TRAVEL, NULL, NULL)) { p_ptr->oldpx = p_ptr->px; p_ptr->oldpy = p_ptr->py; |