1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-20 18:59:36 +00:00

manual-animation: mrec_first and mrec_last actually taken into account

This commit is contained in:
Zeno Rogue 2020-02-13 11:05:10 +01:00
parent 689adb8681
commit 1712914771

View File

@ -420,8 +420,8 @@ bool trailer_handleKey(int sym, int uni) {
// tie(View, current_display->local_perspective, centerover) = p; // tie(View, current_display->local_perspective, centerover) = p;
ticks = i * 1000 / 30; ticks = i * 1000 / 30;
// if(i % 10 != 0) {i++; continue; } // if(i % 10 != 0) {i++; continue; }
if(true) { if(i >= mrec_first && i < mrec_last) {
println(hlog, "recording frame ", i); println(hlog, "recording frame ", i);
shot::take(format(mrec_file.c_str(), i)); shot::take(format(mrec_file.c_str(), i));
} }