summaryrefslogtreecommitdiff
path: root/src/script.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-08-28 16:17:11 -0400
committerGitHub <noreply@github.com>2020-08-28 16:17:11 -0400
commit0cfc279af54aa1f21f08acd4043cf82be771c8a4 (patch)
tree464418e98106f5a4ac5a7db31415d8393e40aced /src/script.c
parent38d4fc9c17467bfbb206116e4bef4648cedfe3d4 (diff)
parent09cfed64b5a10a51ca246ce7a4f57b95cf4b4456 (diff)
Merge branch 'master' into doc-rayscene
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script.c b/src/script.c
index 9ba1a7429..889c25765 100644
--- a/src/script.c
+++ b/src/script.c
@@ -26,9 +26,9 @@ void InitScriptContext(struct ScriptContext *ctx, void *cmdTable, void *cmdTable
s32 i;
ctx->mode = 0;
- ctx->scriptPtr = 0;
+ ctx->scriptPtr = NULL;
ctx->stackDepth = 0;
- ctx->nativePtr = 0;
+ ctx->nativePtr = NULL;
ctx->cmdTable = cmdTable;
ctx->cmdTableEnd = cmdTableEnd;
@@ -55,7 +55,7 @@ void SetupNativeScript(struct ScriptContext *ctx, bool8 (*ptr)(void))
void StopScript(struct ScriptContext *ctx)
{
ctx->mode = 0;
- ctx->scriptPtr = 0;
+ ctx->scriptPtr = NULL;
}
bool8 RunScriptCommand(struct ScriptContext *ctx)