mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-31 01:37:57 +00:00
fifteen:: fixed triangle_markers (they were based on incorrect end configuration)
This commit is contained in:
@@ -51,7 +51,7 @@ void compute_triangle_markers() {
|
||||
cell *c = p.first;
|
||||
|
||||
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)
|
||||
|
Reference in New Issue
Block a user