mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 15:36:59 +00:00
fifteen:: fixed triangle_markers (they were based on incorrect end configuration)
This commit is contained in:
parent
6f91dbb242
commit
1facb672ac
@ -51,7 +51,7 @@ void compute_triangle_markers() {
|
|||||||
cell *c = p.first;
|
cell *c = p.first;
|
||||||
|
|
||||||
forCellIdEx(c1, i, c) if(fif.count(c1) && fif[c1].target == p.second.target + 1) {
|
forCellIdEx(c1, i, c) if(fif.count(c1) && fif[c1].target == p.second.target + 1) {
|
||||||
triangle_markers[p.second.target] = (i - p.second.targetdir) * (p.second.targetmirror ? -1 : 1);
|
triangle_markers[p.second.target] = gmod((1 + i - p.second.targetdir) * (p.second.targetmirror ? -1 : 1), c->type);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(p.second.current == 0)
|
if(p.second.current == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user