mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-08 06:06:43 +01:00
don't send title keycode to State_Keydown function
This commit is contained in:
parent
88f627ff52
commit
5adce49bf9
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -216,7 +216,7 @@ int main(int argc, char **argv){
|
|||
if ((ev.type == ALLEGRO_EVENT_KEY_DOWN) && (ev.keyboard.keycode == ALLEGRO_KEY_TILDE)) {
|
||||
game.showconsole = !game.showconsole;
|
||||
}
|
||||
if (game.gamestate==GAMESTATE_LOADING) {
|
||||
else if (game.gamestate==GAMESTATE_LOADING) {
|
||||
if (Loading_Keydown(&game, &ev)) break;
|
||||
}
|
||||
else if (game.gamestate==GAMESTATE_MENU) {
|
||||
|
|
Loading…
Reference in a new issue