mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed a bug in randd() which made Blizzard look not as it should on Windows
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| double randd() { return (rand() % 1000000) / 1000000. + .0000005; } | ||||
| double randd() { return (rand() + .5) / (RAND_MAX + 1.); } | ||||
|  | ||||
| double cellgfxdist(cell *c, int i) { | ||||
|   return nonbitrunc ? tessf : (c->type == 6 && (i&1)) ? hexhexdist : crossf; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue