mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-02 20:08:03 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user