mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	crystal:: fixed the coloring
This commit is contained in:
		| @@ -400,7 +400,7 @@ color_t colorize(cell *c) { | ||||
|   color_t res; | ||||
|   res = 0; | ||||
|   for(int i=0; i<3; i++) | ||||
|     res |= ((int)(((i == 2 && S7 == 5) ? (128 + co[i] * 50) : (128 + co[i] * 50)))) << (8*i); | ||||
|     res |= ((int)(((i == 2 && S7 == 5) ? (128 + co[i] * 50) : (255&int(128 + co[i] * 50))))) << (8*i); | ||||
|   return res; | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue