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)
|
||||
{
|
||||
|
@ -337,7 +337,7 @@ static void newcam_rotate_button(void)
|
|||
if (newcam_modeflags & NC_FLAG_8D)
|
||||
{
|
||||
if (newcam_cstick_down == 0)
|
||||
{
|
||||
{
|
||||
newcam_cstick_down = 1;
|
||||
newcam_centering = 1;
|
||||
#ifndef nosound
|
||||
|
|
|
@ -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