mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-09 00:00:44 +00:00
Macros: PLAYER
-> GET_PLAYER(globalCtx)
, ACTIVE_CAM
-> GET_ACTIVE_CAM(globalCtx)
(#921)
* PLAYER -> GET_PLAYER(globalCtx) * ACTIVE_CAM -> GET_ACTIVE_CAM(globalCtx) * PR Suggestions * formatter * Add brackets * remove from actorfixer.py * Bring back actorfixer.py change
This commit is contained in:
parent
f8498478c4
commit
1117783731
281 changed files with 1013 additions and 979 deletions
|
@ -259,7 +259,7 @@ void EnSkb_Advance(EnSkb* this, GlobalContext* globalCtx) {
|
|||
s32 thisKeyFrame;
|
||||
s32 prevKeyFrame;
|
||||
f32 playSpeed;
|
||||
Player* player = PLAYER;
|
||||
Player* player = GET_PLAYER(globalCtx);
|
||||
|
||||
if ((this->unk_283 != 0) && ((globalCtx->gameplayFrames & 0xF) == 0)) {
|
||||
this->unk_288 = Rand_CenteredFloat(50000.0f);
|
||||
|
@ -474,7 +474,7 @@ void func_80AFD968(EnSkb* this, GlobalContext* globalCtx) {
|
|||
func_80AFD7B4(this, globalCtx);
|
||||
return;
|
||||
}
|
||||
player = PLAYER;
|
||||
player = GET_PLAYER(globalCtx);
|
||||
if (this->unk_283 == 0) {
|
||||
if ((this->actor.colChkInfo.damageEffect == 0xD) ||
|
||||
((this->actor.colChkInfo.damageEffect == 0xE) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue