1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Play Viridian squeak when editing level desc fields

For consistency, the Viridian squeak will now play whenever you start
editing a level description field, or finish editing it (either by
pressing Esc or Enter).
This commit is contained in:
Misa 2021-06-11 12:52:28 -07:00
parent 96660cd235
commit 1ccf85a260

View file

@ -3828,11 +3828,11 @@ static void editormenuactionpress(void)
key.keybuffer=ed.website; key.keybuffer=ed.website;
break; break;
case 4: case 4:
music.playef(11);
game.returnmenu(); game.returnmenu();
map.nexttowercolour(); map.nexttowercolour();
break; break;
} }
music.playef(11);
break; break;
case Menu::ed_settings: case Menu::ed_settings:
switch (game.currentmenuoption) switch (game.currentmenuoption)
@ -4047,6 +4047,7 @@ void editorinput(void)
ed.desc3mod=false; ed.desc3mod=false;
ed.websitemod=false; ed.websitemod=false;
ed.creatormod=false; ed.creatormod=false;
music.playef(11);
ed.shiftmenu=false; ed.shiftmenu=false;
ed.shiftkey=false; ed.shiftkey=false;
@ -4499,6 +4500,7 @@ void editorinput(void)
key.enabletextentry(); key.enabletextentry();
key.keybuffer=ed.Desc3; key.keybuffer=ed.Desc3;
} }
music.playef(11);
} }
} }
} }