Copied a fix that extends the region Mario can explore beyond shorts from @ckosmic's fork.
This commit is contained in:
@@ -35,7 +35,7 @@ struct InstantWarp
|
||||
|
||||
struct SpawnInfo
|
||||
{
|
||||
/*0x00*/ Vec3s startPos;
|
||||
/*0x00*/ Vec3f startPos;
|
||||
/*0x06*/ Vec3s startAngle;
|
||||
/*0x0C*/ s8 areaIndex;
|
||||
/*0x0D*/ s8 activeAreaIndex;
|
||||
|
||||
@@ -1838,7 +1838,7 @@ int init_mario(void) {
|
||||
|
||||
vec3s_copy(gMarioState->faceAngle, gMarioSpawnInfo->startAngle);
|
||||
vec3s_set(gMarioState->angleVel, 0, 0, 0);
|
||||
vec3s_to_vec3f(gMarioState->pos, gMarioSpawnInfo->startPos);
|
||||
vec3f_copy(gMarioState->pos, gMarioSpawnInfo->startPos);
|
||||
vec3f_set(gMarioState->vel, 0, 0, 0);
|
||||
|
||||
gMarioState->floorHeight =
|
||||
|
||||
Reference in New Issue
Block a user