1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-07-23 11:12:50 +00:00

rogueviz:: statshot better guards

This commit is contained in:
Zeno Rogue 2025-02-24 10:54:31 +01:00
parent c203925ba5
commit 0d7d1e3063

View File

@ -1,6 +1,5 @@
#include "rogueviz.h"
#if CAP_VIDEO
namespace rogueviz {
namespace statshot {
@ -66,8 +65,9 @@ int a = arg::add3("-label-video", [] {
desc.push_back(s);
}
hide_hud = false;
#if CAP_VIDEO
anims::record_video(anims::videofile, [fade, desc] { return anims::record_animation_of([=] { shot_with_stats(fade, desc); }); });
#endif
});
}}
#endif