another coin toss i guess
This commit is contained in:
		
							parent
							
								
									f0939b49fe
								
							
						
					
					
						commit
						19d343b2f5
					
				@ -44,6 +44,8 @@
 | 
			
		||||
 *
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <stdlib.h> /* rand(3) */
 | 
			
		||||
 | 
			
		||||
#include "random.h"
 | 
			
		||||
#include "rogue.h"
 | 
			
		||||
 | 
			
		||||
@ -234,7 +236,7 @@ gr_ring(object *ring, boolean assign_wk)
 | 
			
		||||
		ring->is_cursed = (ring->class < 0);
 | 
			
		||||
		break;
 | 
			
		||||
	case ADORNMENT:
 | 
			
		||||
		ring->is_cursed = coin_toss();
 | 
			
		||||
		ring->is_cursed = rand() & 1;
 | 
			
		||||
		break;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user