From 38c663056cb6b54e5c62aa89ef2b4a9ac490f251 Mon Sep 17 00:00:00 2001 From: cohrs Date: Fri, 30 Aug 2002 03:11:22 +0000 Subject: [PATCH] short int A fix from : "this code only claims to inform the leader if mshort is set i.E. sizeof(int)<=16." --- src/makemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makemon.c b/src/makemon.c index b1ff40e81..3dd99daca 100644 --- a/src/makemon.c +++ b/src/makemon.c @@ -893,7 +893,7 @@ register int mmflags; if (In_sokoban(&u.uz) && !mindless(ptr)) /* know about traps here */ mtmp->mtrapseen = (1L << (PIT - 1)) | (1L << (HOLE - 1)); if (ptr->msound == MS_LEADER) /* leader knows about portal */ - mtmp->mtrapseen |= (1 << (MAGIC_PORTAL-1)); + mtmp->mtrapseen |= (1L << (MAGIC_PORTAL-1)); place_monster(mtmp, x, y); mtmp->mcansee = mtmp->mcanmove = TRUE; -- 2.40.0