mirror of
https://github.com/zeldaret/tmc
synced 2026-06-06 03:38:48 -04:00
Fix a lot of pointer comparisons to 0 (or nothing) to explicitly use NULL
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ u32 sub_08081F7C(Entity* this, u32 r7) {
|
||||
if (this->actionDelay == 0)
|
||||
return 1;
|
||||
if (--this->actionDelay > 6) {
|
||||
if (this->child)
|
||||
if (this->child != NULL)
|
||||
this->child->spriteOffsetY = -4;
|
||||
} else {
|
||||
if (this->actionDelay == 6) {
|
||||
|
||||
Reference in New Issue
Block a user