more updates, missing CAP_COMMANDLINE added

This commit is contained in:
Zeno Rogue 2018-08-25 00:04:10 +02:00
parent c10985dd4a
commit b63b4a810b
2 changed files with 3 additions and 2 deletions

View File

@ -678,12 +678,13 @@ void viewmat() {
}
}
#if CAP_COMMANDLINE
auto hook =
addHook(hooks_args, 100, [] () {
using namespace arg;
if(argis("-floordebug")) { floorshape_debug = true; return 0; }
else return 1;
});
#endif
}

View File

@ -344,7 +344,7 @@ extern "C" void Java_com_roguetemple_hyperroid_HyperRogue_update
mousex = _mousex;
mousey = _mousey;
clicked = _clicked;
nticks = _ticks;
ticks = _ticks;
uploadAll(MOBPAR_ACTUAL);
UNLOCK
// delref;