Fixed crash when changing areas within a level
Bug reported by somario360: After I (Luigi) exited the slide in CCM, an error message appeared and ignoring would make it pop up again. This was due to the sync ID reservation system not being flushed and reset on area change.
This commit is contained in:
parent
7b073aedb8
commit
5d7499bd2a
|
@ -1100,6 +1100,8 @@ void level_set_transition(s16 length, void (*updateFunction)(s16 *)) {
|
|||
* Play the transition and then return to normal play mode.
|
||||
*/
|
||||
s32 play_mode_change_area(void) {
|
||||
network_on_init_level();
|
||||
|
||||
//! This maybe was supposed to be sTransitionTimer == -1? sTransitionUpdate
|
||||
// is never set to -1.
|
||||
if (sTransitionUpdate == (void (*)(s16 *)) - 1) {
|
||||
|
|
Loading…
Reference in New Issue