mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-22 16:30:23 +00:00
fix camera change
This commit is contained in:
parent
431af75d88
commit
b4f87e7a50
1 changed files with 6 additions and 0 deletions
|
@ -11852,6 +11852,12 @@ void rom_hack_cam_walk(Vec3f pos, Vec3f dir, f32 dist) {
|
|||
void mode_rom_hack_camera(struct Camera *c) {
|
||||
s16 oldAreaYaw = sAreaYaw;
|
||||
|
||||
Vec3f oldPos = {
|
||||
c->pos[0],
|
||||
c->pos[1],
|
||||
c->pos[2],
|
||||
};
|
||||
|
||||
// look left
|
||||
if (gMarioStates[0].controller->buttonPressed & L_CBUTTONS) {
|
||||
sRomHackYaw += DEGREES(45);
|
||||
|
|
Loading…
Reference in a new issue