Skip to content

Commit 32fd603

Browse files
committed
rogueviz::seuphorica::yet another mirror fix
1 parent 3897c9f commit 32fd603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rogueviz/seuphorica.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ void mirror(coord& at, vect2& prev) {
241241
vector<int> reindex = {0,3,6,1,4,7,2,5,8};
242242
for(int i=0; i<9; i++) if(v[i] == at) { at = v[reindex[i]]; prev.at = at; break; }
243243
}
244-
prev.spin = tile_orientation[at].spin + 1 - prev.spin;
244+
prev.spin = 2 * tile_orientation[at].spin + 1 - prev.spin;
245245
prev += 0;
246246
}
247247

0 commit comments

Comments
 (0)