diff options
| author | Japa | 2010-04-27 11:22:57 +0000 |
|---|---|---|
| committer | Japa | 2010-04-27 11:22:57 +0000 |
| commit | 7934477b5bf9c041fa29ceeb5d19b70a079d74b3 (patch) | |
| tree | e643784ed15d55e0616a657020189d5a77d3d9fb /UserInput.cpp | |
| parent | a384e31c8ddbbdaf7e92f136ac6d79d81431b995 (diff) | |
| download | stonesense-7934477b5bf9c041fa29ceeb5d19b70a079d74b3.tar.gz stonesense-7934477b5bf9c041fa29ceeb5d19b70a079d74b3.tar.bz2 stonesense-7934477b5bf9c041fa29ceeb5d19b70a079d74b3.tar.xz | |
got the intro screen working right again.
Diffstat (limited to 'UserInput.cpp')
| -rw-r--r-- | UserInput.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/UserInput.cpp b/UserInput.cpp index 125eead..0453def 100644 --- a/UserInput.cpp +++ b/UserInput.cpp @@ -292,8 +292,13 @@ void doKeys(int Key) initAutoReload();
paintboard();
}
+ if(Key == ALLEGRO_KEY_F9)
+ {
+ config.creditScreen = false;
+ }
- if(config.debug_mode){
+ if(config.debug_mode)
+ {
if(Key == ALLEGRO_KEY_PAD_8){
config.follow_DFcursor = false;
debugCursor.y--;
@@ -336,8 +341,5 @@ void doKeys(int Key) config.spriteIndexOverlay = false;
}
}
- if(Key == ALLEGRO_KEY_F9 && config.show_intro){
- config.show_intro = false;
- }
}
}
|
