mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +00:00
Rename scene lists (#1344)
* first pass * revert unwanted zap change * review * name Actor_InitContext, change arg name * change bzero to use type
This commit is contained in:
parent
bea53e1cc3
commit
26d6028ff1
33 changed files with 148 additions and 143 deletions
|
@ -473,7 +473,7 @@ s32 EnGo_FollowPath(EnGo* this, PlayState* play) {
|
|||
return false;
|
||||
}
|
||||
|
||||
path = &play->setupPathList[this->actor.params & 0xF];
|
||||
path = &play->pathList[this->actor.params & 0xF];
|
||||
pointPos = SEGMENTED_TO_VIRTUAL(path->points);
|
||||
pointPos += this->unk_218;
|
||||
xDist = pointPos->x - this->actor.world.pos.x;
|
||||
|
@ -507,7 +507,7 @@ s32 EnGo_SetMovedPos(EnGo* this, PlayState* play) {
|
|||
if ((this->actor.params & 0xF) == 0xF) {
|
||||
return false;
|
||||
} else {
|
||||
path = &play->setupPathList[this->actor.params & 0xF];
|
||||
path = &play->pathList[this->actor.params & 0xF];
|
||||
pointPos = SEGMENTED_TO_VIRTUAL(path->points);
|
||||
pointPos += (path->count - 1);
|
||||
this->actor.world.pos.x = pointPos->x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue