diff options
| author | Elliptic Ellipsis <elliptic.ellipsis@gmail.com> | 2022-03-25 05:34:53 +0000 |
|---|---|---|
| committer | Elliptic Ellipsis <elliptic.ellipsis@gmail.com> | 2022-03-25 05:35:12 +0000 |
| commit | 2d37348cb6994f6fe20a0ffbc2ee2d87bd7447a2 (patch) | |
| tree | c43ce69da5d2e1fe8744d0a54a3a9650de6f20d1 /src/script.c | |
| parent | 481079092ce272558c887c9563948af0f0fa9d58 (diff) | |
Fix a lot of pointer comparisons to 0 (or nothing) to explicitly use NULL
Diffstat (limited to 'src/script.c')
| -rw-r--r-- | src/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.c b/src/script.c index 8fb780b8..1bdf1468 100644 --- a/src/script.c +++ b/src/script.c @@ -349,7 +349,7 @@ void ExecuteScriptForEntity(Entity* entity, void (*postScriptCallback)(Entity*, } else { HandlePostScriptActions(entity, *piVar1); } - if (!entity->next) { + if (entity->next == NULL) { DeleteThisEntity(); } } |
