diff options
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/m_lib.c | 4 | ||||
| -rw-r--r-- | src/code/m_npc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/code/m_lib.c b/src/code/m_lib.c index f39845d..6529fe3 100644 --- a/src/code/m_lib.c +++ b/src/code/m_lib.c @@ -595,7 +595,7 @@ void none_proc2(Actor* actor UNUSED, Game_Play* play UNUSED) { void Cheap_gfx_display(Game_Play* play, Gfx* dl) { //! FAKE - if ((!(&play->state)) && (!(&play->state))) {} + if (1) {} OPEN_DISPS(play->state.gfxCtx); @@ -610,7 +610,7 @@ void Cheap_gfx_display(Game_Play* play, Gfx* dl) { void Cheap_gfx_display_xlu(Game_Play* play, Gfx* dl) { //! FAKE - if ((!(&play->state)) && (!(&play->state))) {} + if (1) {} OPEN_DISPS(play->state.gfxCtx); diff --git a/src/code/m_npc.c b/src/code/m_npc.c index d1308b5..b1e4347 100644 --- a/src/code/m_npc.c +++ b/src/code/m_npc.c @@ -408,7 +408,7 @@ void mNpc_SetAnimalLastTalk(Animal_c* animal) { Anmmem_c* memory = NULL; s32 memoryIdx; - if ((&common_data.privateInfo->playerId != NULL) && (animal != NULL)) { + if (((uintptr_t)&common_data.privateInfo->playerId != NULL) && (animal != NULL)) { priv = common_data.privateInfo; memoryIdx = mNpc_GetAnimalMemoryIdx(&priv->playerId, animal->memories, ANIMAL_MEMORY_NUM); |
