mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Make final Bowser star interactable for all players
This commit is contained in:
parent
00da6b48f5
commit
354146e3ac
1 changed files with 8 additions and 0 deletions
|
@ -848,6 +848,10 @@ void bowser_spawn_grand_star_key(void) {
|
|||
gSecondCameraFocus = reward;
|
||||
|
||||
if (prevReward == NULL) {
|
||||
// set the home position
|
||||
reward->oHomeX = reward->oPosX;
|
||||
reward->oHomeY = reward->oPosY;
|
||||
reward->oHomeZ = reward->oPosZ;
|
||||
struct Object* spawn_objects[] = { reward };
|
||||
u32 models[] = { MODEL_STAR };
|
||||
network_send_spawn_objects(spawn_objects, models, 1);
|
||||
|
@ -859,6 +863,10 @@ void bowser_spawn_grand_star_key(void) {
|
|||
cur_obj_play_sound_2(SOUND_GENERAL2_BOWSER_KEY);
|
||||
|
||||
if (prevReward == NULL) {
|
||||
// set the home position
|
||||
reward->oHomeX = reward->oPosX;
|
||||
reward->oHomeY = reward->oPosY;
|
||||
reward->oHomeZ = reward->oPosZ;
|
||||
struct Object* spawn_objects[] = { reward };
|
||||
u32 models[] = { MODEL_BOWSER_KEY };
|
||||
network_send_spawn_objects(spawn_objects, models, 1);
|
||||
|
|
Loading…
Reference in a new issue