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 "random.h"
|
||||||
#include "rogue.h"
|
#include "rogue.h"
|
||||||
|
|
||||||
@ -234,7 +236,7 @@ gr_ring(object *ring, boolean assign_wk)
|
|||||||
ring->is_cursed = (ring->class < 0);
|
ring->is_cursed = (ring->class < 0);
|
||||||
break;
|
break;
|
||||||
case ADORNMENT:
|
case ADORNMENT:
|
||||||
ring->is_cursed = coin_toss();
|
ring->is_cursed = rand() & 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user