summaryrefslogtreecommitdiff
path: root/src/dungeon.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-19 00:29:59 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:54 +0100
commit5404247f5adcb64a67bedf8b6442c023c3802a8f (patch)
tree727cf7e1156dc8d7601e230395907d7f0ae65df3 /src/dungeon.cc
parent3ba08796130deb101c2b5cf8c00b86a965b3de22 (diff)
Update HOOK_FORBID_TRAVEL to new-style hook
Diffstat (limited to 'src/dungeon.cc')
-rw-r--r--src/dungeon.cc2
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;