From d2bef0eaf8fa68d754e9bf21bf256f7a68c9fc16 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 25 Dec 2018 23:52:54 +0100 Subject: [PATCH] variant:: no more graves created on traps --- complex2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/complex2.cpp b/complex2.cpp index 6ac327d1..3a32f68d 100644 --- a/complex2.cpp +++ b/complex2.cpp @@ -214,7 +214,7 @@ struct variant_feature { const array variant_features {{ variant_feature{(color_t)(-0x202020), 5, moNecromancer, VF { - if(hrand(1500) < 20) c->wall = waFreshGrave; + if(c->wall == waNone && hrand(1500) < 20) c->wall = waFreshGrave; if(hrand(20000) < 10 + items[itVarTreasure]) c->monst = moNecromancer; }},