Fix romhack cam bug
This commit is contained in:
parent
0975b4e28e
commit
7497b612ee
|
@ -2932,7 +2932,7 @@ void set_camera_mode(struct Camera *c, s16 mode, s16 frames) {
|
|||
struct LinearTransitionPoint *start = &sModeInfo.transitionStart;
|
||||
struct LinearTransitionPoint *end = &sModeInfo.transitionEnd;
|
||||
|
||||
if (c->mode == CAMERA_MODE_ROM_HACK && !allow_romhack_camera_override_mode(mode)) { return; }
|
||||
if (c->mode == CAMERA_MODE_ROM_HACK && allow_romhack_camera_override_mode(mode)) { return; }
|
||||
|
||||
bool returnValue = true;
|
||||
smlua_call_event_hooks_set_camera_mode_params(HOOK_ON_SET_CAMERA_MODE, c, mode, frames, &returnValue);
|
||||
|
|
Loading…
Reference in New Issue