1
0
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:
Zeno Rogue 2021-08-20 01:35:19 +02:00
parent 1135aaab7e
commit 78ee00ddea

View File

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