diff options
author | PokeCodec <67983839+PokeCodec@users.noreply.github.com> | 2020-08-28 14:00:31 -0400 |
---|---|---|
committer | PokeCodec <67983839+PokeCodec@users.noreply.github.com> | 2020-08-28 14:00:31 -0400 |
commit | 1515a2ecc489a8976c4a26a3bed73edaf444d403 (patch) | |
tree | 6892723a22f0a9262e18781fb0d59b7f85fe0df9 /src/script.c | |
parent | 5faf2507080e3a3a37651cf0e89fdaef976fedd6 (diff) |
Fix To-Dos
Diffstat (limited to 'src/script.c')
-rw-r--r-- | src/script.c | 6 |
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) |