mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 15:20:27 +00:00
fixed problems in resolve_confusion
This commit is contained in:
parent
1135aaab7e
commit
78ee00ddea
@ -566,8 +566,11 @@ void trace_root_path(vector<int>& rp, twalker cw) {
|
||||
|
||||
next:
|
||||
if(d > 0) {
|
||||
ufind(cw);
|
||||
handle_distance_errors();
|
||||
for(int i=0; i<cw.at->type; i++) {
|
||||
tcell *c1 = (cw+i).peek();
|
||||
if(!c1) continue;
|
||||
be_solid(c1);
|
||||
if(c1->dist < d) {
|
||||
rp.push_back(i);
|
||||
|
Loading…
Reference in New Issue
Block a user