1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 04:17:39 +00:00

fixup to know actual_geometry

This commit is contained in:
Zeno Rogue
2019-08-25 19:50:14 +02:00
parent f224cc1027
commit 3e7a604408
2 changed files with 3 additions and 3 deletions

View File

@@ -584,7 +584,7 @@ EX namespace hybrid {
hrmap *pmap;
geometry_information *pcgip;
geometry actual_geometry;
eGeometry actual_geometry;
template<class T> auto in_actual(const T& t) -> decltype(t()) {
dynamicval<eGeometry> g(geometry, actual_geometry);
@@ -606,7 +606,7 @@ EX namespace hybrid {
template<class T> auto in_underlying(const T& t) -> decltype(t()) {
pcgip = cgip;
dynamicval<hrmap*> gpm(pmap, this);
dynamicval<hrmap*> gag(actual_geometry, geometry);
dynamicval<eGeometry> gag(actual_geometry, geometry);
dynamicval<eGeometry> g(geometry, underlying);
dynamicval<geometry_information*> gc(cgip, underlying_cgip);
dynamicval<hrmap*> gu(currentmap, underlying_map);