fix warnings
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ static void move_gold(struct obj *, int);
|
|||||||
static void wallify_vault(struct monst *);
|
static void wallify_vault(struct monst *);
|
||||||
static void gd_mv_monaway(struct monst *, int, int);
|
static void gd_mv_monaway(struct monst *, int, int);
|
||||||
static void gd_pick_corridor_gold(struct monst *, int, int);
|
static void gd_pick_corridor_gold(struct monst *, int, int);
|
||||||
static int gd_move_cleanup(struct monst, boolean, boolean);
|
static int gd_move_cleanup(struct monst *, boolean, boolean);
|
||||||
|
|
||||||
void
|
void
|
||||||
newegd(struct monst *mtmp)
|
newegd(struct monst *mtmp)
|
||||||
@@ -813,7 +813,7 @@ gd_move(struct monst *grd)
|
|||||||
long umoney = 0L;
|
long umoney = 0L;
|
||||||
boolean goldincorridor = FALSE, u_in_vault = FALSE, grd_in_vault = FALSE,
|
boolean goldincorridor = FALSE, u_in_vault = FALSE, grd_in_vault = FALSE,
|
||||||
semi_dead = DEADMONSTER(grd),
|
semi_dead = DEADMONSTER(grd),
|
||||||
u_carry_gold = FALSE, newspot = FALSE, see_guard;
|
u_carry_gold = FALSE, newspot = FALSE;
|
||||||
|
|
||||||
if (!on_level(&(egrd->gdlevel), &u.uz))
|
if (!on_level(&(egrd->gdlevel), &u.uz))
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user