still not sure whats happening
This commit is contained in:
		
							parent
							
								
									ec97c69a03
								
							
						
					
					
						commit
						c62d49ed68
					
				@ -1,2 +1,2 @@
 | 
			
		||||
#define get_rand(x, y) (((rand() % ((y) - (x))) + 1) + (x)) /* 0 index */
 | 
			
		||||
#define rand_percent(odds) ((rand() % 99 + 1) <= (odds))
 | 
			
		||||
#define rand_percent(odds) ((get_rand(1, 100)) <= (odds))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user