mirror of
https://github.com/SMGCommunity/Petari.git
synced 2024-11-23 21:49:45 +00:00
Match initAfterPlacement
This commit is contained in:
parent
6584b3be30
commit
900ebb1b4c
@ -171,7 +171,7 @@ __ct__10MarioActorFPCc,MarioActor.o,Player.a,false
|
||||
__dt__10MarioActorFv,MarioActor.o,Player.a,false
|
||||
init__10MarioActorFRC12JMapInfoIter,MarioActor.o,Player.a,true
|
||||
init2__10MarioActorFRCQ29JGeometry8TVec3<f>RCQ29JGeometry8TVec3<f>l,MarioActor.o,Player.a,false
|
||||
initAfterPlacement__10MarioActorFv,MarioActor.o,Player.a,false
|
||||
initAfterPlacement__10MarioActorFv,MarioActor.o,Player.a,true
|
||||
initAfterOpeningDemo__10MarioActorFv,MarioActor.o,Player.a,false
|
||||
calcBaseFrontVec__10MarioActorFRCQ29JGeometry8TVec3<f>,MarioActor.o,Player.a,false
|
||||
playSound__10MarioActorFPCcl,MarioActor.o,Player.a,false
|
||||
|
|
@ -35,3 +35,23 @@ void MarioActor::init(const JMapInfoIter &rInfo) {
|
||||
}
|
||||
init2(stack_24, stack_18, stack_8);
|
||||
}
|
||||
|
||||
void MarioActor::initAfterPlacement() {
|
||||
updateGravityVector(true, true);
|
||||
_230 -> _1D8 = _240;
|
||||
_230 -> _1F0 = -_240;
|
||||
_230 -> _1FC = -_240;
|
||||
_300 = _230 -> _1F0;
|
||||
_2d0 = _300;
|
||||
/*TVec3f stack_14 = _240;
|
||||
stack_14.scale(-70f);
|
||||
_2c4 = stack_14;*/
|
||||
_2c4 = _240 % -70f;
|
||||
calcCenterPos();
|
||||
MR::updateHitSensorsAll(this);
|
||||
_360 = getGravityVector();
|
||||
_1c0 = 1;
|
||||
_9f4 = getGravityVector();
|
||||
updateCameraInfo();
|
||||
calcBaseFrontVec(-_240);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user