mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-14 04:14:06 +00:00
reg3:: made extra_origins more distant to prevent accidental crash
This commit is contained in:
parent
4c4120e4f0
commit
0e14d06e40
26
reg3.cpp
26
reg3.cpp
@ -1706,25 +1706,25 @@ EX namespace reg3 {
|
|||||||
|
|
||||||
auto& p1 = reg_gmatrix[orig];
|
auto& p1 = reg_gmatrix[orig];
|
||||||
heptagon *alt = p1.first;
|
heptagon *alt = p1.first;
|
||||||
#if CAP_FIELD
|
|
||||||
transmatrix T = p1.second * xpush(10);
|
transmatrix T = p1.second;
|
||||||
#else
|
|
||||||
transmatrix T = p1.second * xpush(10);
|
for(int a=0; a<10; a++) {
|
||||||
#endif
|
T = T * xpush(10);
|
||||||
#if CAP_BT
|
#if CAP_BT
|
||||||
if(hyperbolic) {
|
if(hyperbolic) {
|
||||||
dynamicval<eGeometry> g(geometry, gBinary3);
|
dynamicval<eGeometry> g(geometry, gBinary3);
|
||||||
dynamicval<hrmap*> cm(currentmap, binary_map);
|
dynamicval<hrmap*> cm(currentmap, binary_map);
|
||||||
binary_map->virtualRebase(alt, T);
|
binary_map->virtualRebase(alt, T);
|
||||||
fixmatrix(T);
|
fixmatrix(T);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
heptagon *created = init_heptagon(S7);
|
heptagon *created = init_heptagon(S7);
|
||||||
|
|
||||||
created->s = hsOrigin;
|
created->s = hsOrigin;
|
||||||
created->fieldval = quotient_map->acells[fv]->master->fieldval;
|
created->fieldval = quotient_map->acells[fv]->master->fieldval;
|
||||||
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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user