hat:: Orb of Vaulting now works correctly

This commit is contained in:
Zeno Rogue 2023-03-28 12:47:03 +02:00
parent a0343f6108
commit 06d250e6a5
1 changed files with 1 additions and 1 deletions

View File

@ -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;