mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-27 13:13:16 +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:
|
next:
|
||||||
if(d > 0) {
|
if(d > 0) {
|
||||||
|
ufind(cw);
|
||||||
|
handle_distance_errors();
|
||||||
for(int i=0; i<cw.at->type; i++) {
|
for(int i=0; i<cw.at->type; i++) {
|
||||||
tcell *c1 = (cw+i).peek();
|
tcell *c1 = (cw+i).peek();
|
||||||
|
if(!c1) continue;
|
||||||
be_solid(c1);
|
be_solid(c1);
|
||||||
if(c1->dist < d) {
|
if(c1->dist < d) {
|
||||||
rp.push_back(i);
|
rp.push_back(i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user