1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-21 14:31:17 +00:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 66 additions and 64 deletions

View file

@ -828,7 +828,7 @@ void EnRd_UpdateDamage(EnRd* this, PlayState* play) {
if (this->actor.colChkInfo.health == 0) {
EnRd_UpdateMourningTarget(play, &this->actor, true);
EnRd_SetupDead(this);
Item_DropCollectibleRandom(play, 0, &this->actor.world.pos, 0x90);
Item_DropCollectibleRandom(play, NULL, &this->actor.world.pos, 0x90);
} else {
EnRd_SetupDamaged(this);
}