Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1376 → Rev 1378

/demos/trunk/astro/rock.c
17,7 → 17,7
int kill_rock;
rock_pos rocks[ROCK_NMAX];
 
extern volatile int shark_running;
extern PID shutdown_task_PID;
 
void draw_rock(int x, int y, int r, int c)
{
272,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");
shark_running = 0;
task_activate(shutdown_task_PID);
return;
} else
task_activate(pid_RC);