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:
parent
c0783d5a8f
commit
170043af1f
1 changed files with 2 additions and 3 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue