Re add crash fix for exiting to main menu
This commit is contained in:
parent
a8fdc53b8d
commit
ab9e4bf6c7
|
@ -1652,7 +1652,9 @@ void update_menu_level(void) {
|
||||||
gLakituState.skipCameraInterpolationTimestamp = gGlobalTimer;
|
gLakituState.skipCameraInterpolationTimestamp = gGlobalTimer;
|
||||||
extern s32 gCamSkipInterp;
|
extern s32 gCamSkipInterp;
|
||||||
gCamSkipInterp = 1;
|
gCamSkipInterp = 1;
|
||||||
vec3f_copy(gCurrentArea->camera->pos, gLakituState.curPos);
|
if (gCurrentArea != NULL) {
|
||||||
|
vec3f_copy(gCurrentArea->camera->pos, gLakituState.curPos);
|
||||||
|
}
|
||||||
vec3f_copy(gLakituState.pos, gLakituState.curPos);
|
vec3f_copy(gLakituState.pos, gLakituState.curPos);
|
||||||
vec3f_copy(gLakituState.goalPos, gLakituState.curPos);
|
vec3f_copy(gLakituState.goalPos, gLakituState.curPos);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue