mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
hat:: Orb of Vaulting now works correctly
This commit is contained in:
parent
a0343f6108
commit
06d250e6a5
2
orbs.cpp
2
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;
|
||||
|
Loading…
Reference in New Issue
Block a user