mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-20 03:54:47 +00:00
arb:: fixed cycle_length and repeat_value for conversion
This commit is contained in:
parent
7480d1e0ea
commit
61fcf62727
@ -1514,7 +1514,8 @@ EX void convert() {
|
||||
int t = s->type;
|
||||
sh.vertices.clear();
|
||||
sh.connections.clear();
|
||||
sh.repeat_value = id.modval;
|
||||
sh.cycle_length = id.modval;
|
||||
sh.repeat_value = t / id.modval;
|
||||
for(int j=0; j<t; j++) {
|
||||
auto co = currentmap->get_corner(s, j);
|
||||
sh.vertices.push_back(co);
|
||||
|
Loading…
Reference in New Issue
Block a user