1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

rogueviz::sag:: loglik_repeat works better now

This commit is contained in:
Zeno Rogue 2022-10-23 17:32:52 +02:00
parent 5cdbca3b21
commit 3506ccac13

View File

@ -1311,12 +1311,13 @@ int readArgs() {
bool turn(int delta) {
if(vizsa_start) {
if(vizsa_start == -1) vizsa_start = ticks;
auto t = ticks;
double d = (t-vizsa_start) / (1000. * vizsa_len);
if(d > 1 && loglik_repeat) {
vizsa_start = ticks;
optimize_sag_loglik();
optimize_sag_loglik_auto();
output_stats();
vizsa_start = -1;
}
if(d > 1) sagmode = sagOff;
else {