mirror of https://github.com/zeldaret/mm.git
Suppress address warning in en_s_goro (#1655)
* en_s_goro warning * Format
This commit is contained in:
parent
6541532abb
commit
716cc0d63d
|
|
@ -895,8 +895,8 @@ void EnSGoro_UpdateCollider(EnSGoro* this, PlayState* play) {
|
|||
this->collider.dim.height = height;
|
||||
|
||||
//! @bug: The check is useless. If &this->collider somehow was NULL the above code would have already dereferenced
|
||||
//! it.
|
||||
if (&this->collider != NULL) {
|
||||
//! it. Cast to `intptr_t` to suppress address comparision to NULL warning.
|
||||
if ((intptr_t)(&this->collider) != (intptr_t)NULL) {
|
||||
CollisionCheck_SetOC(play, &play->colChkCtx, &this->collider.base);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue