mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-20 14:01:15 +00:00
Use DMG_
defines in code (#1245)
* Use `DMG_` defines for `dmgFlags` when single bits are used * Pass on several (in code, no colliders) * Conditional cleanup * Remove wip comment, just use the flags 4head
This commit is contained in:
parent
b2752a6a2e
commit
b3b913d33d
53 changed files with 201 additions and 180 deletions
|
@ -1241,7 +1241,7 @@ void BossDodongo_UpdateDamage(BossDodongo* this, PlayState* play) {
|
|||
item1 = this->collider.elements[i].info.acHitInfo;
|
||||
item2 = item1;
|
||||
|
||||
if ((item2->toucher.dmgFlags & 0x10) || (item2->toucher.dmgFlags & 4)) {
|
||||
if ((item2->toucher.dmgFlags & DMG_BOOMERANG) || (item2->toucher.dmgFlags & DMG_SLINGSHOT)) {
|
||||
this->collider.elements[i].info.bumperFlags &= ~BUMP_HIT;
|
||||
this->unk_1C0 = 2;
|
||||
BossDodongo_SetupWalk(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue