mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 21:33:07 -04:00
various cleanup, fix some fakematches
This commit is contained in:
@@ -220,10 +220,9 @@ BOOL daRaceItem_c::execute() {
|
||||
if(mCyl.ChkTgHit() && field_0x644 == 1) {
|
||||
cCcD_Obj* hitObj = mCyl.GetTgHitObj();
|
||||
if (hitObj) {
|
||||
u32 atType = hitObj->GetAtType();
|
||||
if (atType & AT_TYPE_BOOMERANG) {
|
||||
if (hitObj->ChkAtType(AT_TYPE_BOOMERANG)) {
|
||||
cLib_onBit(field_0x645, (u8)0x01);
|
||||
} else if (atType & AT_TYPE_HOOKSHOT) {
|
||||
} else if (hitObj->ChkAtType(AT_TYPE_HOOKSHOT)) {
|
||||
cXyz pos(0.0f, dItem_data::getH(m_itemNo) / 2.0f, 0.0f);
|
||||
daPy_getPlayerActorClass()->setHookshotCarryOffset(fopAcM_GetID(this), &pos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user