mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-10-19 03:32:41 +00:00
Prevent star dance spam
This commit is contained in:
parent
8360df84fe
commit
028990302d
2 changed files with 2 additions and 2 deletions
|
@ -690,7 +690,7 @@ void general_star_dance_handler(struct MarioState *m, s32 isInWater) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else if (m->playerIndex != 0) {
|
} else if (m->playerIndex != 0) {
|
||||||
set_mario_action(m, isInWater ? ACT_WATER_IDLE : ACT_IDLE, 0);
|
// nothing
|
||||||
} else if (m->actionState == 1 && gDialogResponse) {
|
} else if (m->actionState == 1 && gDialogResponse) {
|
||||||
if (gDialogResponse == 1) {
|
if (gDialogResponse == 1) {
|
||||||
save_file_do_save(gCurrSaveFileNum - 1, FALSE);
|
save_file_do_save(gCurrSaveFileNum - 1, FALSE);
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
||||||
static u8 warpToLevel = LEVEL_BOB;
|
static u8 warpToLevel = LEVEL_WF;
|
||||||
|
|
||||||
#define SCANCODE_0 0x0B
|
#define SCANCODE_0 0x0B
|
||||||
#define SCANCODE_1 0x02
|
#define SCANCODE_1 0x02
|
||||||
|
|
Loading…
Reference in a new issue