From c873316d26a9f7218da0969db2f62dc98acb0e25 Mon Sep 17 00:00:00 2001 From: Erik Lunna Date: Thu, 12 Oct 2023 06:46:07 +0200 Subject: [PATCH] Cloaks with the oilskin property also let you pass through tight diagonals. --- src/hack.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hack.c b/src/hack.c index 91cfe1d68..55d39ca08 100644 --- a/src/hack.c +++ b/src/hack.c @@ -746,7 +746,9 @@ struct monst *mon; return 1; /* Greased cloaks let us pass through tight spots */ - if (!Sokoban && uarmc && (uarmc->otyp == OILSKIN_CLOAK || uarmc->greased)) + if (!Sokoban && uarmc + && (uarmc->otyp == OILSKIN_CLOAK || uarmc->oprops & ITEM_OILSKIN + || uarmc->greased)) return 0; /* lugging too much junk? */