}
}
}
- if(mainmenu==3){
+ else if(mainmenu==3){
if(Input::Button()&&!oldbutton&&selected!=-1){
fireSound();
}
if(mainmenu==3&&!gameon)mainmenu=1;
}
}
- if(mainmenu==4){
+ else if(mainmenu==4){
if(Input::Button()&&!oldbutton&&selected!=-1&&!waiting){
fireSound();
if(selected<9&&keyselect==-1)
}
}
- if(mainmenu==5){
+ else if(mainmenu==5){
if(endgame==2){
accountactive->endGame();
mainmenu=5;
}
}
- if(mainmenu==10){
+ else if(mainmenu==10){
endgame=2;
if(Input::Button()&&!oldbutton&&selected==3){
fireSound();
}
}
- if(mainmenu==6){
+ else if(mainmenu==6){
if(Input::Button()&&!oldbutton) {
if(selected>-1){
fireSound();
}
}
}
- if(mainmenu==7){
+ else if(mainmenu==7){
if(Input::Button()&&!oldbutton) {
if(selected!=-1){
fireSound();
}
}
}
- if(mainmenu==8){
+ else if(mainmenu==8){
if(Input::Button()&&!oldbutton&&selected>-1){
fireSound();
}
}
- if (mainmenu==18) {
+ else if (mainmenu==18) {
if(Input::Button()&&!oldbutton&&selected==0) {
newstereomode = (StereoMode)(newstereomode + 1);
while(!CanInitStereo(newstereomode)) {