From bdc774058ddeabd78cbe961afda61e3c836135f0 Mon Sep 17 00:00:00 2001 From: mracsys Date: Mon, 2 Dec 2024 16:50:58 -0500 Subject: More descriptive names for CS_BEGIN_CUTSCENE and CS_END (#2311) * rename CS_BEGIN_CUTSCENE and CS_END * matching * naming consistency for END command, improved comments * remove CS_CMD_NONE Co-authored-by: mzxrules * remove comma from end of enum * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "c04562d30" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "c04562d30" git-subrepo: version: "0.4.9" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "cce3d93" --------- Co-authored-by: mzxrules Co-authored-by: fig02 --- src/code/z_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/code') diff --git a/src/code/z_demo.c b/src/code/z_demo.c index f20e4ca34..993405c15 100644 --- a/src/code/z_demo.c +++ b/src/code/z_demo.c @@ -1813,7 +1813,7 @@ void Cutscene_ProcessScript(PlayState* play, CutsceneContext* csCtx, u8* script) MemCpy(&cmdType, script, sizeof(cmdType)); script += sizeof(cmdType); - if (cmdType == CS_CAM_STOP) { + if (cmdType == CS_CMD_END_OF_SCRIPT) { return; } -- cgit v1.2.3