1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 13:07:16 +00:00

dont_optimize flag

This commit is contained in:
Zeno Rogue 2024-10-20 01:52:02 +02:00
parent c6c400ffc3
commit 20c45cf331

View File

@ -2357,10 +2357,13 @@ EX transmatrix oView;
EX purehookset hooks_preoptimize, hooks_postoptimize;
EX bool dont_optimize;
EX void optimizeview() {
if(subscreens::split(optimizeview)) return;
if(dual::split(optimizeview)) return;
if(dont_optimize) return;
cell *c = centerover;
transmatrix iView = view_inverse(View);