From 74866c28ce6dd2c54f3d1072311eff4fe22c94e8 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 16 Jun 2022 09:51:09 +0200 Subject: [PATCH] - allow taking screenshots in cutscenes. --- src/common/cutscenes/screenjob.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/cutscenes/screenjob.cpp b/src/common/cutscenes/screenjob.cpp index 093bd0b9f..de929e9bf 100644 --- a/src/common/cutscenes/screenjob.cpp +++ b/src/common/cutscenes/screenjob.cpp @@ -208,6 +208,11 @@ bool ScreenJobResponder(event_t* ev) C_ToggleConsole(); return true; } + if (binding.CompareNoCase("screenshot") == 0) + { + C_DoCommand("screenshot"); + return true; + } } FInputEvent evt = ev; if (cutscene.runner)