mirror of
https://github.com/zeldaret/tmc
synced 2026-06-28 11:10:49 -04:00
Fix a lot of pointer comparisons to 0 (or nothing) to explicitly use NULL
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ void Beetle_OnDeath(Entity* this) {
|
||||
GenericDeath(this);
|
||||
} else {
|
||||
Entity* ent = this->parent;
|
||||
if (ent) {
|
||||
if (ent != NULL) {
|
||||
ent->field_0xf--;
|
||||
this->parent = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user