From 472443a6d26ad0fdb8f7d759e44cadb10d9e7b82 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 5 Feb 2023 21:58:56 +0100 Subject: [PATCH] embeddings:: noshadow disables monster shadows --- graph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/graph.cpp b/graph.cpp index 08e62218..4908878f 100644 --- a/graph.cpp +++ b/graph.cpp @@ -611,6 +611,7 @@ EX bool noshadow; #if CAP_SHAPES EX void ShadowV(const shiftmatrix& V, const hpcshape& bp, PPR prio IS(PPR::MONSTER_SHADOW)) { if(WDIM == 2 && GDIM == 3 && bp.shs != bp.she) { + if(noshadow) return; auto& p = queuepolyat(V, bp, 0x18, PPR::TRANSPARENT_SHADOW); p.outline = 0; p.subprio = -100;