1
0

another coin toss i guess

This commit is contained in:
dtb 2023-11-25 11:15:14 -07:00
parent f0939b49fe
commit 19d343b2f5

View File

@ -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;
}
}