/demos/trunk/astro/rock.c |
---|
17,8 → 17,6 |
int kill_rock; |
rock_pos rocks[ROCK_NMAX]; |
extern PID shutdown_task_PID; |
void draw_rock(int x, int y, int r, int c) |
{ |
sem_wait(&mx_grf); |
272,7 → 270,7 |
pid_RC = task_create("RockCreator", rock_creator, &ms, NULL); |
if (pid_RC == NIL) { |
sys_shutdown_message("Could not create task <RockCreator>\n"); |
task_activate(shutdown_task_PID); |
sys_end(); |
return; |
} else |
task_activate(pid_RC); |