napms(12) is the lowest value that actually works in DJGPP. To Do: fix

napms() in DJGPP.
This commit is contained in:
William McBrine
2006-02-24 02:33:20 +00:00
parent 103fd71e4b
commit 41c5871ec2

View File

@@ -23,7 +23,7 @@ Options:
-n <n> set number of worms
-t make worms leave droppings
$Id: worm.c,v 1.8 2006/02/18 23:28:11 wmcbrine Exp $
$Id: worm.c,v 1.9 2006/02/24 02:33:20 wmcbrine Exp $
*/
#include <curses.h>
@@ -267,7 +267,7 @@ int main(int argc, char *argv[])
}
}
napms(10);
napms(12);
refresh();
nodelay(stdscr, TRUE);
@@ -397,7 +397,7 @@ int main(int argc, char *argv[])
addch(flavor[n % FLAVORS]);
ref[w->ypos[h] = y][w->xpos[h] = x]++;
}
napms(10);
napms(12);
refresh();
}