Skip to content

Commit

Permalink
fix "Scorpius egg"
Browse files Browse the repository at this point in the history
     From the newsgroup:  wishing for a "Scorpius egg" succeeds;
fortunately the resulting egg will never hatch.  Turn such eggs into
normal scorpion eggs instead.
  • Loading branch information
nethack.rankin committed Jan 30, 2003
1 parent 1114722 commit 029ca9f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/mon.c
@@ -1,4 +1,4 @@
/* SCCS Id: @(#)mon.c 3.4 2002/11/07 */
/* SCCS Id: @(#)mon.c 3.4 2003/01/29 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */

Expand Down Expand Up @@ -2514,6 +2514,11 @@ int
can_be_hatched(mnum)
int mnum;
{
/* ranger quest nemesis has the oviparous bit set, making it
be possible to wish for eggs of that unique monster; turn
such into ordinary eggs rather than forbidding them outright */
if (mnum == PM_SCORPIUS) mnum = PM_SCORPION;

mnum = little_to_big(mnum);
/*
* Queen bees lay killer bee eggs (usually), but killer bees don't
Expand Down

0 comments on commit 029ca9f

Please sign in to comment.