mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
reg3:: fixed origins
This commit is contained in:
parent
a5c67624fd
commit
3318c1e4b4
6
reg3.cpp
6
reg3.cpp
@ -1720,15 +1720,15 @@ EX namespace reg3 {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
heptagon *created = init_heptagon(S7);
|
heptagon *created = init_heptagon(S7);
|
||||||
created->c7 = newCell(S7, created);
|
|
||||||
created->s = hsOrigin;
|
created->s = hsOrigin;
|
||||||
created->fieldval = fv;
|
created->fieldval = quotient_map->acells[fv]->master->fieldval;
|
||||||
fixmatrix(T);
|
fixmatrix(T);
|
||||||
reg_gmatrix[created] = make_pair(alt, T);
|
reg_gmatrix[created] = make_pair(alt, T);
|
||||||
altmap[alt].emplace_back(created, T);
|
altmap[alt].emplace_back(created, T);
|
||||||
|
|
||||||
extra_origins.push_back(created);
|
extra_origins.push_back(created);
|
||||||
return created->c7;
|
return get_cell_at(created, fv);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user