mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-01 06:23:00 +00:00 
			
		
		
		
	no more weird acting on loadConfig when the file is empty
This commit is contained in:
		| @@ -789,7 +789,7 @@ EX void loadConfig() { | ||||
|     int err; | ||||
|     int fs; | ||||
|     err=fscanf(f, "%d%d%d%d", &vid.xres, &vid.yres, &fs, &vid.fsize); | ||||
|     if(!err)  | ||||
|     if(err != 4)  | ||||
|       loadNewConfig(f); | ||||
|     else { | ||||
|       vid.full = fs; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue