1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-01 23:40:15 +00:00

more fixes to Emscripten CLI

This commit is contained in:
Zeno Rogue
2018-02-12 13:12:08 +01:00
parent 15dcbc188a
commit bb5ac04875
4 changed files with 10 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ int arg::readCommon() {
else if(argis("-pattern")) {
PHASE(3);
shift();
char *c = args();
const char *c = args();
using namespace patterns;
subpattern_flags = 0;
whichPattern = 0;
@@ -523,7 +523,7 @@ purehookset hooks_config;
hookset<int()> *hooks_args;
namespace arg {
int argc; char **argv;
int argc; const char **argv;
int curphase;
auto ah = addHook(hooks_args, 0, readCommon);