1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-08-05 12:15:26 +01:00

Bugfix: fix prayer crash, add back divine pet gifts

This commit is contained in:
Chris-plus-alphanumericgibberish 2017-07-09 14:34:30 -07:00
parent c0783d5a8f
commit 170043af1f

View file

@ -3263,9 +3263,8 @@ aligntyp alignment;
register struct obj *otmp;
const char *what = (const char *)0;
// if (rnl((30 + u.ulevel)*10) < 10) god_gives_pet(align_gname_full(alignment),alignment);
// else {
{ //For now, remove gods giving pets, since I think it crashes the game.
if (rnl((30 + u.ulevel)*10) < 10) god_gives_pet(align_gname_full(alignment),alignment);
else {
switch (rnl(5)) {
case 0: /* randomly charge an object */
case 1: /* increase weapon bonus */