summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authormracsys <mracsys@gmail.com>2024-12-02 16:50:58 -0500
committerGitHub <noreply@github.com>2024-12-02 16:50:58 -0500
commitbdc774058ddeabd78cbe961afda61e3c836135f0 (patch)
tree9b3dee468939c7c59af463178565ce72c1d262c6 /src/code
parent3f703a39d91b0f90a273ca24fedfc7e6578ad363 (diff)
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 <mzxrules@gmail.com> * 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 <mzxrules@gmail.com> Co-authored-by: fig02 <fig02srl@gmail.com>
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_demo.c2
1 files changed, 1 insertions, 1 deletions
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;
}