From e0547c3a911a1243f9daa40d0bb6a150537f3ab9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 7 Apr 2021 21:32:04 +0200 Subject: [PATCH] rogueviz::qtm:: fixed to rv_hook not addHook --- rogueviz/qtm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/qtm.cpp b/rogueviz/qtm.cpp index 8e5bfa4e..e25aa601 100644 --- a/rogueviz/qtm.cpp +++ b/rogueviz/qtm.cpp @@ -79,7 +79,7 @@ bool may_set_cell(cell *c, int d, cell *from) { } void enable() { - addHook(hooks_cellgen, 100, may_set_cell); + rv_hook(hooks_cellgen, 100, may_set_cell); } int args() {