U77 - pits in drawbridges
dighole dealt with holes in drawbridges, but digactualhole did not
This commit is contained in:
@@ -283,6 +283,7 @@ renamed debug commands: light sources -> lightsources,
|
|||||||
detect attempt to swap places with big pet through narrow opening
|
detect attempt to swap places with big pet through narrow opening
|
||||||
stinking clouds in bones files do not get their ttl set reasonably
|
stinking clouds in bones files do not get their ttl set reasonably
|
||||||
stinking clouds in bones files may incorrectly set player_inside
|
stinking clouds in bones files may incorrectly set player_inside
|
||||||
|
breaking wand of digging on a drawbridge shouldn't dig/hole a pit in the bridge
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -504,6 +504,13 @@ int ttyp;
|
|||||||
breaksink(x, y);
|
breaksink(x, y);
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
} else if (lev->typ == DRAWBRIDGE_DOWN ||
|
||||||
|
(is_drawbridge_wall(x, y) >= 0)) {
|
||||||
|
int bx = x, by = y;
|
||||||
|
/* if under the portcullis, the bridge is adjacent */
|
||||||
|
(void) find_drawbridge(&bx, &by);
|
||||||
|
destroy_drawbridge(bx, by);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ttyp != PIT && !Can_dig_down(&u.uz)) {
|
if (ttyp != PIT && !Can_dig_down(&u.uz)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user