mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-30 03:50:34 +00:00
fixup to save field 3d fix
This commit is contained in:
parent
a5228b06a5
commit
aa6c0cb1cd
@ -1461,8 +1461,11 @@ EX void enableFieldChange() {
|
|||||||
fieldpattern::current_quotient_field.init(gxcur.primes[gxcur.current_prime_id].p);
|
fieldpattern::current_quotient_field.init(gxcur.primes[gxcur.current_prime_id].p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EX eGeometry underlying_geometry;
|
||||||
|
|
||||||
EX void field_from_current() {
|
EX void field_from_current() {
|
||||||
auto& go = ginf[geometry];
|
auto& go = ginf[geometry];
|
||||||
|
underlying_geometry = geometry;
|
||||||
dynamicval<eGeometry> g(geometry, gFieldQuotient);
|
dynamicval<eGeometry> g(geometry, gFieldQuotient);
|
||||||
auto& gg = ginf[geometry];
|
auto& gg = ginf[geometry];
|
||||||
gg.sides = go.sides;
|
gg.sides = go.sides;
|
||||||
|
@ -205,6 +205,8 @@ EX void connect_portal(cellwalker cw1, cellwalker cw2, int spin) {
|
|||||||
|
|
||||||
/** make currentmap into one of the spaces in intra */
|
/** make currentmap into one of the spaces in intra */
|
||||||
EX void become() {
|
EX void become() {
|
||||||
|
check_cgi();
|
||||||
|
cgi.require_shapes();
|
||||||
auto& ac = currentmap->allcells();
|
auto& ac = currentmap->allcells();
|
||||||
current = isize(data);
|
current = isize(data);
|
||||||
for(cell *c: ac)
|
for(cell *c: ac)
|
||||||
|
Loading…
Reference in New Issue
Block a user