diff --git a/screenshot.cpp b/screenshot.cpp index d28652dd..879e878b 100644 --- a/screenshot.cpp +++ b/screenshot.cpp @@ -1392,10 +1392,13 @@ EX hookset hooks_record_anim; EX int record_frame_id = -1; +EX bool recording_video; + EX bool record_animation_of(reaction_t content) { lastticks = 0; ticks = 0; int oldturn = -1; + dynamicval rv(recording_video, true); for(int i=0; i max_frame) continue;