]> granicus.if.org Git - nethack/commitdiff
build fix w/o REINCARNATION defined
authornethack.allison <nethack.allison>
Sun, 17 Sep 2006 04:40:06 +0000 (04:40 +0000)
committernethack.allison <nethack.allison>
Sun, 17 Sep 2006 04:40:06 +0000 (04:40 +0000)
src/makemon.c

index 9aa88aa886508c7e013cb8caa351ee6830026069..fa901d4609d9a29adb52d405d8f4693dd364e0aa 100644 (file)
@@ -1740,10 +1740,15 @@ register struct monst *mtmp;
                         levl[mx-1][my].typ == TDWALL   ||
                         levl[mx-1][my].typ == CROSSWALL||
                         levl[mx-1][my].typ == TUWALL    ))
+#ifdef REINCARNATION
                    appear = Is_rogue_level(&u.uz) ? S_hwall : S_hcdoor;
                else
                    appear = Is_rogue_level(&u.uz) ? S_vwall : S_vcdoor;
-
+#else
+                   appear = S_hcdoor;
+               else
+                   appear = S_vcdoor;
+#endif
                if(!mtmp->minvis || See_invisible)
                    block_point(mx,my); /* vision */
        } else if (level.flags.is_maze_lev && !In_sokoban(&u.uz) && rn2(2)) {