mirror of
https://github.com/abakh/nbsdgames.git
synced 2024-11-02 16:27:18 -04:00
Merge pull request #4 from dokutan/master
Fix gameplay description not working in miketron
This commit is contained in:
commit
181c1d74df
@ -352,8 +352,8 @@ void gameplay(void){
|
||||
printw("survive explosions but cannot cross the trail it has\n");
|
||||
printw("left behind. Keep it running as much as you can.");
|
||||
refresh();
|
||||
erase();
|
||||
getch();
|
||||
erase();
|
||||
halfdelay(1);
|
||||
}
|
||||
void sigint_handler(int x){
|
||||
@ -497,6 +497,8 @@ int main(int argc, char** argv){
|
||||
}
|
||||
if( input == KEY_F(1) || input=='?' )
|
||||
help();
|
||||
if( input == KEY_F(2) )
|
||||
gameplay();
|
||||
halfspeed=!halfspeed;
|
||||
if( (input=='k' || input==KEY_UP) ){
|
||||
direction=UP;
|
||||
|
Loading…
Reference in New Issue
Block a user