Reset squish settings on spawn

This commit is contained in:
MysterD 2022-04-14 18:14:10 -07:00
parent f5e19541e8
commit 1d7dfe4d3c
1 changed files with 5 additions and 0 deletions

View File

@ -2154,6 +2154,11 @@ static void init_single_mario(struct MarioState* m) {
vec3s_to_vec3f(m->pos, spawnInfo->startPos);
vec3f_set(m->vel, 0, 0, 0);
if (m->marioObj != NULL) {
vec3f_set(m->marioObj->header.gfx.scale, 1.0f, 1.0f, 1.0f);
m->marioObj->header.gfx.node.flags |= GRAPH_RENDER_ACTIVE;
}
// offset spawning
u8 connectedPlayers = network_player_connected_count();
u8 globalIndex = gNetworkPlayers[m->playerIndex].globalIndex;