mirror of https://github.com/sm64pc/sm64pc.git
Resolve a few errors with the new additions.
This commit is contained in:
parent
560800e97a
commit
6e936174b0
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue