Dehardcode number of glass gems
This commit is contained in:
@@ -572,7 +572,8 @@ make_corpse(struct monst *mtmp, unsigned int corpseflags)
|
||||
case PM_GLASS_GOLEM:
|
||||
num = d(2, 4); /* very low chance of creating all glass gems */
|
||||
while (num--)
|
||||
obj = mksobj_at((LAST_GEM + rnd(9)), x, y, TRUE, FALSE);
|
||||
obj = mksobj_at((LAST_GEM + rnd(NUM_GLASS_GEMS)),
|
||||
x, y, TRUE, FALSE);
|
||||
free_mgivenname(mtmp);
|
||||
break;
|
||||
case PM_CLAY_GOLEM:
|
||||
|
||||
Reference in New Issue
Block a user