/demos/trunk/astro/stat.c |
---|
19,8 → 19,6 |
int lives; /* current player lives */ |
int crash; /* astro vs. rock */ |
extern PID shutdown_task_PID; |
TASK stat_write() |
{ |
char st[20]; |
131,7 → 129,7 |
pid = task_create("StatWrite", stat_write, &ms, NULL); |
if (pid == NIL) { |
sys_shutdown_message("Could not create task <StatWrite>\n"); |
task_activate(shutdown_task_PID); |
sys_end(); |
return; |
} else |
task_activate(pid); |