- Arreglats un milló de warnings tontos (i alguno serio)
This commit is contained in:
@@ -32,10 +32,14 @@ namespace modules
|
||||
return OPTION_EIXIR;
|
||||
}
|
||||
if (controller::pressed(KEY_DOWN) || input::keyPressed(SDL_SCANCODE_DOWN))
|
||||
{
|
||||
selected_option++; if (selected_option==5) selected_option=0;
|
||||
}
|
||||
|
||||
if (controller::pressed(KEY_UP) || input::keyPressed(SDL_SCANCODE_UP))
|
||||
{
|
||||
selected_option--; if (selected_option<0) selected_option=4;
|
||||
}
|
||||
|
||||
if (controller::pressed(KEY_JUMP) || controller::pressed(KEY_PICK) || input::keyPressed(SDL_SCANCODE_SPACE) ) {
|
||||
return selected_option;
|
||||
|
||||
Reference in New Issue
Block a user