mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fix strange behavior when being caught in a whirlpool while an instant warp occurs
This commit is contained in:
parent
b831acd59c
commit
b63a47f64a
2 changed files with 3 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#ifdef DEBUG
|
||||
|
||||
static u8 warpToLevel = LEVEL_LLL;
|
||||
static u8 warpToLevel = LEVEL_DDD;
|
||||
|
||||
#define SCANCODE_0 0x0B
|
||||
#define SCANCODE_1 0x02
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
#include "game/level_update.h"
|
||||
#include "game/area.h"
|
||||
#include "game/ingame_menu.h"
|
||||
#include "game/mario.h"
|
||||
#define DISABLE_MODULE_LOG
|
||||
#include "pc/debuglog.h"
|
||||
|
||||
|
|
@ -81,6 +82,7 @@ void network_receive_instant_warp(struct Packet* p) {
|
|||
|
||||
for (int i = 0; i < MAX_PLAYERS; i++) {
|
||||
gMarioStates[i].marioObj->oIntangibleTimer = 30;
|
||||
force_idle_state(&gMarioStates[i]);
|
||||
}
|
||||
|
||||
//s16 cameraAngle = gMarioStates[0].area->camera->yaw;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue