diff options
| author | cadmic <cadmic24@gmail.com> | 2024-09-30 12:52:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-30 15:52:38 -0400 |
| commit | bdc11c2894d482208ba9acef6f572fb317ee69d2 (patch) | |
| tree | da4d2925be53a2479fafe0188feab2f05f390086 /src/code/z_actor.c | |
| parent | 80ed596c56e89c1de600caf2c4656f8205c529a1 (diff) | |
[ntsc-1.0/1.1] Match "game engine" files (#2244)
* [ntsc-1.0/1.1] Match "game engine" files
* Use R_START_BTN_X/R_START_BTN_Y
* Comment obvious bugs
* Move Magic_Fill comments
* Move EVENTINF_HORSES_INDEX printf inside #if
* Replace "this function"
Diffstat (limited to 'src/code/z_actor.c')
| -rw-r--r-- | src/code/z_actor.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c index f0d43e632..71e25d953 100644 --- a/src/code/z_actor.c +++ b/src/code/z_actor.c @@ -3561,7 +3561,12 @@ s32 BodyBreak_SpawnParts(Actor* actor, BodyBreak* bodyBreak, PlayState* play, s1 mtx->zw, 0, 0, objectSlot, type); if (spawnedEnPart != NULL) { +#if OOT_VERSION < PAL_1_0 + //! @bug Wrong rotation order compared to Actor_Draw + Matrix_MtxFToZYXRotS(&bodyBreak->matrices[bodyBreak->count], &spawnedEnPart->actor.shape.rot, 0); +#else Matrix_MtxFToYXZRotS(&bodyBreak->matrices[bodyBreak->count], &spawnedEnPart->actor.shape.rot, 0); +#endif spawnedEnPart->displayList = bodyBreak->dLists[bodyBreak->count]; spawnedEnPart->actor.scale = actor->scale; } |
