1
0
mirror of https://github.com/abakh/nbsdgames.git synced 2024-12-04 14:46:22 -05:00

Merge pull request #4 from dokutan/master

Fix gameplay description not working in miketron
This commit is contained in:
abakh 2020-09-24 11:23:09 +03:30 committed by GitHub
commit 181c1d74df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;