mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-26 19:37:40 +00:00 
			
		
		
		
	fixed non-extern variable
This commit is contained in:
		| @@ -7,6 +7,8 @@ | ||||
|  | ||||
| namespace hr { | ||||
|  | ||||
| EX FILE *debugfile; | ||||
|  | ||||
| #if HDR | ||||
| #define DF_INIT              1 // always display these | ||||
| #define DF_MSG               2 // always display these | ||||
| @@ -194,8 +196,6 @@ template<class... T> void print(hstream& hs, const tuple<T...> & t) { | ||||
|   print(hs, ")"); | ||||
|   } | ||||
|  | ||||
| FILE *debugfile; | ||||
|  | ||||
| #ifndef SPECIAL_LOGGER | ||||
| inline void special_log(char c) { if(debugfile) fputc(c, debugfile); putchar(c); } | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue