mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	added missing CAP_COMMANDLINE guards, and other fixes for non-CAP_COMMANDLINE
This commit is contained in:
		| @@ -238,6 +238,7 @@ EX modecode_t legacy_modecode() { | ||||
|   return mct; | ||||
|   } | ||||
|  | ||||
| #if CAP_COMMANDLINE | ||||
| /* legacy options */ | ||||
| int read_legacy_args() { | ||||
|   using namespace arg; | ||||
| @@ -272,6 +273,7 @@ int read_legacy_args() { | ||||
|   } | ||||
|  | ||||
| auto ah_legacy = addHook(hooks_args, 0, read_legacy_args); | ||||
| #endif | ||||
|  | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue