1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-10 00:40:16 +00:00

Remove and change some fake matches (#910)

* remove fake match

* remove another fake match

* move globalCtx temp

* remove more fake matches

* remove commented lines

* this is it I promise
This commit is contained in:
louist103 2021-08-19 18:14:23 -04:00 committed by GitHub
parent 0042acb539
commit 17c79a8f60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 33 deletions

View file

@ -294,15 +294,14 @@ void func_809DFA84(EnCow* this, GlobalContext* globalCtx) {
}
}
void EnCow_Update(Actor* thisx, GlobalContext* globalCtx) {
void EnCow_Update(Actor* thisx, GlobalContext* globalCtx2) {
EnCow* this = THIS;
s32 pad;
GlobalContext* globalCtx = globalCtx2;
s16 targetX;
s16 targetY;
Player* player = PLAYER;
CollisionCheck_SetOC(globalCtx, &globalCtx->colChkCtx, &this->colliders[0].base);
if (globalCtx) {} // necessary to match
CollisionCheck_SetOC(globalCtx, &globalCtx->colChkCtx, &this->colliders[1].base);
Actor_MoveForward(thisx);
Actor_UpdateBgCheckInfo(globalCtx, thisx, 0.0f, 0.0f, 0.0f, 4);