mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 06:52:03 +00:00
Fix many missing NULLs (#1389)
* Fix many missing NULLs * Fix a raw actor id in en_horse
This commit is contained in:
parent
78e528d6fb
commit
2f4c25da53
42 changed files with 66 additions and 64 deletions
|
@ -817,7 +817,7 @@ void EnRu2_Draw(Actor* thisx, PlayState* play) {
|
|||
EnRu2* this = (EnRu2*)thisx;
|
||||
|
||||
if ((this->drawConfig < 0) || (this->drawConfig >= ARRAY_COUNT(sDrawFuncs)) ||
|
||||
(sDrawFuncs[this->drawConfig] == 0)) {
|
||||
(sDrawFuncs[this->drawConfig] == NULL)) {
|
||||
// "Draw Mode is improper!"
|
||||
osSyncPrintf(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue