mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-18 21:10:19 +00:00
Enable int-conversion warnings and fix all current instances (#1280)
* Enable int-conversion warnings for gcc/clang * Fix all current int-conversion warnings * Run format.sh * Apply review suggestions
This commit is contained in:
parent
5299208291
commit
08c8126ba5
46 changed files with 225 additions and 224 deletions
|
@ -329,7 +329,7 @@ void DemoEc_UseDrawObject(DemoEc* this, PlayState* play) {
|
|||
void DemoEc_UseAnimationObject(DemoEc* this, PlayState* play) {
|
||||
s32 animObjBankIndex = this->animObjBankIndex;
|
||||
|
||||
gSegments[6] = PHYSICAL_TO_VIRTUAL(play->objectCtx.status[animObjBankIndex].segment);
|
||||
gSegments[6] = VIRTUAL_TO_PHYSICAL(play->objectCtx.status[animObjBankIndex].segment);
|
||||
}
|
||||
|
||||
CsCmdActorAction* DemoEc_GetNpcAction(PlayState* play, s32 actionIndex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue