mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Hopefully fix purple switches expanding infinitely (#470)
This commit is contained in:
parent
628dbfed75
commit
780ffb8cba
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ void bhv_purple_switch_loop(void) {
|
||||||
*/
|
*/
|
||||||
case PURPLE_SWITCH_PRESSED:
|
case PURPLE_SWITCH_PRESSED:
|
||||||
cur_obj_scale_over_time(2, 3, 1.5f, 0.2f);
|
cur_obj_scale_over_time(2, 3, 1.5f, 0.2f);
|
||||||
if (o->oTimer == 3) {
|
if (o->oTimer >= 3) {
|
||||||
cur_obj_play_sound_2(SOUND_GENERAL2_PURPLE_SWITCH);
|
cur_obj_play_sound_2(SOUND_GENERAL2_PURPLE_SWITCH);
|
||||||
o->oAction = PURPLE_SWITCH_TICKING;
|
o->oAction = PURPLE_SWITCH_TICKING;
|
||||||
cur_obj_shake_screen(SHAKE_POS_SMALL);
|
cur_obj_shake_screen(SHAKE_POS_SMALL);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue