mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-23 12:35:11 +00:00
Fix snowman cap
This commit is contained in:
parent
b20753f0c0
commit
dcd3665b7a
2 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ const GeoLayout mr_blizzard_hidden_geo[] = {
|
|||
GEO_SCALE(0x00, 65536),
|
||||
GEO_OPEN_NODE(),
|
||||
GEO_ASM(0, geo_mario_set_player_colors),
|
||||
GEO_TRANSLATE_ROTATE_WITH_DL(LAYER_ALPHA, 490, 14, 43, 305, 0, 248, mario_cap_m_logo_decal),
|
||||
GEO_TRANSLATE_ROTATE_WITH_DL(LAYER_OPAQUE, 490, 14, 43, 305, 0, 248, mario_cap_seg3_dl_03022F48),
|
||||
GEO_CLOSE_NODE(),
|
||||
GEO_CLOSE_NODE(),
|
||||
|
|
|
@ -246,7 +246,7 @@ static void mr_blizzard_act_death(void) {
|
|||
if (o->oAnimState) {
|
||||
gMarioStates[0].cap &= ~SAVE_FLAG_CAP_ON_MR_BLIZZARD;
|
||||
|
||||
cap = spawn_object_relative(0, 5, 105, 0, o, MODEL_MARIOS_CAP, bhvNormalCap);
|
||||
cap = spawn_object_relative(0, 5, 105, 0, o, gMarioStates[0].character->capModelId, bhvNormalCap);
|
||||
if (cap != NULL) {
|
||||
cap->globalPlayerIndex = o->globalPlayerIndex;
|
||||
cap->oMoveAngleYaw = o->oFaceAngleYaw + (o->oFaceAngleRoll < 0 ? 0x4000 : -0x4000);
|
||||
|
|
Loading…
Reference in a new issue