rogueviz::qtm now uses hooks_cellgen

This commit is contained in:
Zeno Rogue 2020-08-23 00:16:50 +02:00
parent fe2d9e7da8
commit f04400f9de
1 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ void set_cell(cell *c) {
bool qtm_on; bool qtm_on;
bool may_set_cell(cell *c, const shiftmatrix& T) { bool may_set_cell(cell *c, int d, cell *from) {
if(qtm_on) set_cell(c); if(qtm_on) set_cell(c);
return false; return false;
} }
@ -219,7 +219,7 @@ int args() {
auto hooks = addHook(hooks_drawcell, 100, may_set_cell) auto hooks = addHook(hooks_cellgen, 100, may_set_cell)
+ addHook(hooks_args, 100, args); + addHook(hooks_args, 100, args);
} }