mirror of https://github.com/zeldaret/oot.git
EnSkb.lastDamageEffect -> lastDamageReaction
This commit is contained in:
parent
f09e06d42a
commit
cdb33842e8
|
@ -473,7 +473,7 @@ void EnSkb_CheckDamage(EnSkb* this, PlayState* play) {
|
|||
if (this->collider.base.acFlags & AC_HIT) {
|
||||
this->collider.base.acFlags &= ~AC_HIT;
|
||||
if (this->actor.colChkInfo.damageReaction != 6) {
|
||||
this->lastDamageEffect = this->actor.colChkInfo.damageReaction;
|
||||
this->lastDamageReaction = this->actor.colChkInfo.damageReaction;
|
||||
Actor_SetDropFlag(&this->actor, &this->collider.elements[1].base, true);
|
||||
this->setColliderAT = false;
|
||||
if (this->actor.colChkInfo.damageReaction == 1) {
|
||||
|
|
|
@ -15,7 +15,7 @@ typedef struct EnSkb {
|
|||
/* 0x0208 */ Vec3s morphTable[20];
|
||||
/* 0x0280 */ u8 actionState;
|
||||
/* 0x0281 */ u8 setColliderAT;
|
||||
/* 0x0282 */ u8 lastDamageEffect;
|
||||
/* 0x0282 */ u8 lastDamageReaction;
|
||||
/* 0x0283 */ u8 breakFlags;
|
||||
/* 0x0284 */ EnSkbActionFunc actionFunc;
|
||||
/* 0x0288 */ s16 headlessYawOffset;
|
||||
|
|
Loading…
Reference in New Issue