mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
3d:: fixed a crashbug
This commit is contained in:
parent
839c369709
commit
8ac431a7f1
@ -585,7 +585,7 @@ void make_revolution_cut(hpcshape &sh, int each = 180, ld push = 0, ld width = 9
|
||||
stillin[i] = false;
|
||||
}
|
||||
|
||||
for(int i=n; i>=0; i--) if(!stillin[i] && !stillin[nextid[i]]) nextid[i] = nextid[nextid[i]];
|
||||
for(int i=n-1; i>=0; i--) if(!stillin[i] && !stillin[nextid[i]]) nextid[i] = nextid[nextid[i]];
|
||||
for(int i=0; i<n; i++) if(!stillin[i] && !stillin[lastid[i]]) lastid[i] = lastid[lastid[i]];
|
||||
|
||||
for(int i=0; i<n; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user