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:
parent
c6c400ffc3
commit
20c45cf331
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user