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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user