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() {