From 06d250e6a5fa0b31d42183832b42625d0c7c594b Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 28 Mar 2023 12:47:03 +0200 Subject: [PATCH] hat:: Orb of Vaulting now works correctly --- orbs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orbs.cpp b/orbs.cpp index 4c54e3d2..59bc0750 100644 --- a/orbs.cpp +++ b/orbs.cpp @@ -1265,7 +1265,7 @@ EX void apply_impact(cell *c) { EX int check_vault(cell *cf, cell *ct, flagtype flags, cell*& jumpthru) { cell *c2 = NULL, *c3 = NULL; forCellCM(cc, cf) { - if(isNeighbor(cc, ct)) c3 = c2, c2 = cc; + if(isNeighbor(cc, ct) && c2 != cc) c3 = c2, c2 = cc; } jumpthru = c2; if(!c2) return 0;