mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-05 07:01:18 +00:00
force disable free camera during demo playback
This commit is contained in:
parent
73678daf8a
commit
026361ad61
1 changed files with 5 additions and 1 deletions
|
@ -155,7 +155,11 @@ static s16 newcam_clamp(s16 value, s16 min, s16 max) {
|
|||
return value;
|
||||
}
|
||||
|
||||
void newcam_toggle(const bool enabled) {
|
||||
void newcam_toggle(bool enabled) {
|
||||
// force-disable if a demo is being played
|
||||
if (gCurrDemoInput)
|
||||
enabled = false;
|
||||
|
||||
if (enabled && !newcam_active) {
|
||||
newcam_active = 1;
|
||||
newcam_saved_mode = gLakituState.mode;
|
||||
|
|
Loading…
Reference in a new issue