rolling boulder trap's boulder can be generated in lava

> On 01/30/2012 08:20 PM, <Someone> wrote:
> The boulder from a rolling boulder trap can be generated on a
> lava pool. mkroll_launch() in trap.c, line 1584 checks only for pools
> of water.
This commit is contained in:
nethack.allison
2012-02-01 00:49:16 +00:00
parent 28aace3fd4
commit e701a68175
8 changed files with 23 additions and 13 deletions

View File

@@ -64,6 +64,16 @@ int x,y;
return FALSE;
}
boolean
is_pool_or_lava(x,y)
int x,y;
{
if (is_pool(x,y) || is_lava(x,y))
return TRUE;
else
return FALSE;
}
boolean
is_ice(x,y)
int x,y;