Fixes ice trap gidata not getting cleared after trap is sprung. (#1322)

This commit is contained in:
Christopher Leggett 2022-08-27 03:27:20 -04:00 committed by GitHub
parent 05136c13b7
commit a572c11f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6121,6 +6121,8 @@ s32 func_8083E5A8(Player* this, GlobalContext* globalCtx) {
this->actor.colChkInfo.damage = 0;
func_80837C0C(globalCtx, this, 3, 0.0f, 0.0f, 0, 20);
Player_SetPendingFlag(this, globalCtx);
this->getItemId == GI_NONE;
this->getItemEntry = (GetItemEntry)GET_ITEM_NONE;
return 1;
}
@ -12866,6 +12868,8 @@ void func_8084E6D4(Player* this, GlobalContext* globalCtx) {
} else {
this->actor.colChkInfo.damage = 0;
func_80837C0C(globalCtx, this, 3, 0.0f, 0.0f, 0, 20);
this->getItemId == GI_NONE;
this->getItemEntry = (GetItemEntry)GET_ITEM_NONE;
}
return;
}