Copied a fix that extends the region Mario can explore beyond shorts from @ckosmic's fork.

This commit is contained in:
MeltyPlayer
2022-10-20 00:18:43 -05:00
parent 478d28ed7d
commit c035455ff7
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ struct InstantWarp
struct SpawnInfo
{
/*0x00*/ Vec3s startPos;
/*0x00*/ Vec3f startPos;
/*0x06*/ Vec3s startAngle;
/*0x0C*/ s8 areaIndex;
/*0x0D*/ s8 activeAreaIndex;
+1 -1
View File
@@ -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 =