Prevented coin sound spam when entering a level
This commit is contained in:
parent
9398d41179
commit
d914f1eb81
|
@ -72,6 +72,7 @@ void network_receive_level(struct Packet* p) {
|
||||||
packet_read(p, &redCoinsCollected, sizeof(u8));
|
packet_read(p, &redCoinsCollected, sizeof(u8));
|
||||||
packet_read(p, &gPssSlideStarted, sizeof(u8));
|
packet_read(p, &gPssSlideStarted, sizeof(u8));
|
||||||
packet_read(p, &gTTCSpeedSetting, sizeof(s16)); // likely doesn't work after level load.. but it could
|
packet_read(p, &gTTCSpeedSetting, sizeof(s16)); // likely doesn't work after level load.. but it could
|
||||||
|
gHudDisplay.coins = gMarioStates[0].numCoins;
|
||||||
|
|
||||||
// hacky way to override red coins collected
|
// hacky way to override red coins collected
|
||||||
gRedCoinsCollected = redCoinsCollected;
|
gRedCoinsCollected = redCoinsCollected;
|
||||||
|
|
Loading…
Reference in New Issue