- fixed: For cutscenes the alternative clean scaling factors need to be activated.

This setting was at odds with the internals of the intermission and summary screen handlers.
This commit is contained in:
Christoph Oelckers 2022-06-16 09:18:27 +02:00
parent 2397b9c117
commit c5eec7b8bb

View file

@ -212,6 +212,7 @@ bool ScreenJobResponder(event_t* ev)
FInputEvent evt = ev;
if (cutscene.runner)
{
ScaleOverrider ovr(twod);
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, OnEvent)
{
int result = 0;
@ -235,6 +236,7 @@ bool ScreenJobTick()
ticks++;
if (cutscene.runner)
{
ScaleOverrider ovr(twod);
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, OnTick)
{
int result = 0;
@ -260,6 +262,7 @@ void ScreenJobDraw()
if (cutscene.runner)
{
twod->ClearScreen();
ScaleOverrider ovr(twod);
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, RunFrame)
{
VMValue parm[] = { cutscene.runner, smoothratio };
@ -278,6 +281,7 @@ bool ScreenJobValidate()
{
if (cutscene.runner)
{
ScaleOverrider ovr(twod);
IFVIRTUALPTRNAME(cutscene.runner, NAME_ScreenJobRunner, Validate)
{
int res;