Fix transition issues in Rance 01

PE_UpdateComponent needs to be called before rendering the starting
frame of a transition effect.

This fixes a glitch in the ●立ち絵 function of Rance 01 when
transitioning to a variant CG.
This commit is contained in:
Nunuhara Cabbage
2024-07-23 19:51:22 -07:00
parent 635cce877f
commit bfa2deeffb
+2
View File
@@ -19,6 +19,7 @@
#include <SDL.h>
#include "effect.h"
#include "gfx/gfx.h"
#include "parts.h"
#include "sact.h"
#include "system4.h"
#include "xsystem4.h"
@@ -301,6 +302,7 @@ int sact_TRANS_Begin(int type)
effect.on = true;
effect.type = type;
gfx_copy_main_surface(&effect.old);
PE_UpdateComponent(0);
scene_render();
gfx_copy_main_surface(&effect.new);
return 1;