Fix many missing NULLs (#1389)

* Fix many missing NULLs

* Fix a raw actor id in en_horse
This commit is contained in:
Roman971
2022-10-04 07:18:50 +02:00
committed by GitHub
parent 78e528d6fb
commit 2f4c25da53
42 changed files with 66 additions and 64 deletions
+2 -2
View File
@@ -73,10 +73,10 @@ void func_800FCA18(void* blk, u32 nBlk, u32 blkSize, arg3_800FCA18 arg3, s32 arg
u32 pos;
u32 end;
if (blk == 0) {
if (blk == NULL) {
return;
}
if (arg3 != 0) {
if (arg3 != NULL) {
end = (u32)blk;
pos = (u32)end + (nBlk * blkSize);