Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1392 → Rev 1391

/demos/trunk/astro/rock.c
17,6 → 17,8
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);
270,7 → 272,7
pid_RC = task_create("RockCreator", rock_creator, &ms, NULL);
if (pid_RC == NIL) {
sys_shutdown_message("Could not create task <RockCreator>\n");
sys_end();
task_activate(shutdown_task_PID);
return;
} else
task_activate(pid_RC);