mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Fix romhack cannon camera in sm74
This commit is contained in:
parent
cea41c95e0
commit
28c3555ea8
1 changed files with 9 additions and 0 deletions
|
@ -32,8 +32,17 @@ end
|
|||
|
||||
function on_set_camera_mode(c, mode, frames)
|
||||
local m = gMarioStates[0]
|
||||
|
||||
if mode == CAMERA_MODE_ROM_HACK then
|
||||
return true
|
||||
end
|
||||
|
||||
if sOverrideCameraModes[mode] ~= nil then
|
||||
-- do not allow change
|
||||
if mode ~= CAMERA_MODE_ROM_HACK then
|
||||
set_camera_mode(c, CAMERA_MODE_ROM_HACK, frames)
|
||||
return false
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue