fix a panic and infinite recursion

Changes to be committed:
	modified:   src/ball.c
	modified:   src/display.c
	modified:   src/mon.c
This commit is contained in:
nhmall
2015-04-29 23:53:31 -04:00
parent 97a5bdfb17
commit fcfab90907
3 changed files with 23 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
/* NetHack 3.5 mon.c $NHDT-Date: 1429666918 2015/04/22 01:41:58 $ $NHDT-Branch: master $:$NHDT-Revision: 1.165 $ */
/* NetHack 3.5 mon.c $NHDT-Date: 1430365894 2015/04/30 03:51:34 $ $NHDT-Branch: master $:$NHDT-Revision: 1.168 $ */
/* NetHack 3.5 mon.c $Date: 2012/05/16 02:15:10 $ $Revision: 1.126 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -1850,7 +1850,7 @@ register struct monst *mtmp;
u.uy = mtmp->my;
u.uswallow = 0;
u.uswldtim = 0;
if (Punished) placebc();
if (BALL_IN_MON) placebc();
vision_full_recalc = 1;
docrt();
}