From 7bc9d3863c9800a699a9ec84c21e33bd5d3936d3 Mon Sep 17 00:00:00 2001 From: shawlucas Date: Mon, 23 Mar 2020 13:00:47 -0700 Subject: [PATCH] Made more suggested changes --- src/overlays/actors/ovl_Bg_Zg/z_bg_zg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overlays/actors/ovl_Bg_Zg/z_bg_zg.c b/src/overlays/actors/ovl_Bg_Zg/z_bg_zg.c index 65a69c214c..b1a828e3cf 100644 --- a/src/overlays/actors/ovl_Bg_Zg/z_bg_zg.c +++ b/src/overlays/actors/ovl_Bg_Zg/z_bg_zg.c @@ -132,7 +132,7 @@ static void func_808C0EEC(BgZg* this, GlobalContext* globalCtx) { static void BgZg_Draw(BgZg* this, GlobalContext* globalCtx) { s32 action = this->drawConfig; - if (((action < 0) || (action > 0)) || drawFuncs[action] == 0) { + if (((action < 0) || (action > 0)) || drawFuncs[action] == NULL) { // Translates to: "Drawing mode is wrong !!!!!!!!!!!!!!!!!!!!!!!!!" osSyncPrintf(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST); } else {