mirror of
https://github.com/zeldaret/tmc
synced 2026-07-25 14:26:49 -04:00
Fix a lot of pointer comparisons to 0 (or nothing) to explicitly use NULL
This commit is contained in:
+1
-1
@@ -283,7 +283,7 @@ u32 sub_0808288C(Entity* this, u32 form, u32 arg2, u32 arg3) {
|
||||
break;
|
||||
default:
|
||||
entity = CreateObjectWithParent(this, GROUND_ITEM, form, arg2);
|
||||
if (entity) {
|
||||
if (entity != NULL) {
|
||||
if (arg3 == 2) {
|
||||
entity->actionDelay = 5;
|
||||
entity->field_0x86.HWORD = this->field_0x86.HWORD;
|
||||
|
||||
Reference in New Issue
Block a user