1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

nilrider:: fixed slowdown in planning

This commit is contained in:
Zeno Rogue 2022-05-06 15:46:28 +02:00
parent d95bbe2574
commit 4d1c3b0956

View File

@ -94,6 +94,7 @@ void level::compute_plan_transform() {
} }
void level::draw_planning_screen() { void level::draw_planning_screen() {
if(just_refreshing) return;
curlev->init_textures(); curlev->init_textures();
dynamicval<eGeometry> g(geometry, gEuclid); dynamicval<eGeometry> g(geometry, gEuclid);
dynamicval<eModel> pm(pmodel, mdDisk); dynamicval<eModel> pm(pmodel, mdDisk);