Resolve a few errors with the new additions.

This commit is contained in:
Colton Rushton 2020-05-20 16:52:52 -03:00
parent 560800e97a
commit 6e936174b0
2 changed files with 4 additions and 4 deletions

View File

@ -187,7 +187,7 @@ void newcam_diagnostics(void)
print_text_fmt_int(32,32,"DISTANCE %d",newcam_distance);
}
static s16 newcam_adjust_value(s16 var, s16 val)
static s16 newcam_adjust_value(s16 var, s16 val, s8 max)
{
if (val > 0)
{

View File

@ -3083,8 +3083,8 @@ void update_camera(struct Camera *c) {
if (gMarioState->action == ACT_SHOT_FROM_CANNON && newcam_active)
{
gMarioState->area->camera->mode = CAM_MODE_NEWCAM;
gLakituState.mode = CAM_MODE_NEWCAM;
gMarioState->area->camera->mode = CAMERA_MODE_NEWCAM;
gLakituState.mode = CAMERA_MODE_NEWCAM;
}
#endif