mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-09-04 19:01:31 -04:00
[modding] Big Update PR (#118)
* Implement kart vehicle * Fix menu CC * Actors * variable framerate * Implement Actors vector * Fix water & scrolling textures * Finish ACoin * Refactor finishline * Refactor mtx to vector * Fix refactored screen code bugs * Fix playlist bug * Switching courses working now * Fix podium ceremony * Mostly Fix Demo and Credits * Credits Load Actors and Textures * Fix credits * Formatting * Update lus and torch * Fix water features * Fix crabs * Combine function * Fix wheels * Add Moon Jump Cheat * Wheel Change * Fix smoke due to wheel change * Fix screens for wheels * Fix transparency * Fix staff ghost * Fix lakitu transition widescreen * Rename and export credits text * Fixes --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
This commit is contained in:
@@ -144,7 +144,7 @@ void ATrain::SyncComponents(TrainCarStuff* trainCar, s16 orientationY) {
|
||||
struct TrainCar* trainCarActor;
|
||||
|
||||
//! @todo: Change actorIndex to ptr to TrainCar actor
|
||||
trainCarActor = (struct TrainCar*) &gActorList[trainCar->actorIndex];
|
||||
trainCarActor = (struct TrainCar*) GET_ACTOR(trainCar->actorIndex);
|
||||
trainCarActor->pos[0] = trainCar->position[0];
|
||||
trainCarActor->pos[1] = trainCar->position[1];
|
||||
trainCarActor->pos[2] = trainCar->position[2];
|
||||
|
||||
Reference in New Issue
Block a user