new_node = calloc(sizeof(struct kill_queue), 1);
new_node = malloc(sizeof(struct kill_queue));
void add_actor_from_server(char * in_data, int kill){         int i;    int this_actor_id = *((short *)(in_data));    struct kill_queue *new_node;        if(debug >= DEBUG_LOW)log_info("Adding actor. Max Actors was %d.\n", max_actors);                 for(i=0; i < max_actors+1; i++) {             if(!actors_list[i]) {                  actors_list[i] = calloc(1, sizeof(actor));                  break;             }             else if(actors_list[i]->actor_id == this_actor_id) {                  // Duplicate Actor ID - Overwrite it                  log_error("Duplicate actor_id %d.\n", this_actor_id);                  actors_list[i]->actor_id=*((short *)(in_data));                  actors_list[i]->fighting=0;	              actors_list[i]->x_tile_pos=*((short *)(in_data+2));	              actors_list[i]->y_tile_pos=*((short *)(in_data+4));	              actors_list[i]->actor_type=*((short *)(in_data+10));	              my_strncp(actors_list[i]->actor_name,&in_data[23],30); //<--Actor	              if((actors_list[i]->actor_type == 1) || (actors_list[i]->actor_type == 4)) {	                   my_strncp(actors_list[i]->actor_name,&in_data[28],30); //<--Enhanced                  }                  // Don't alloc kill_queue, because it already will/won't exist                  return;             }                      }    if (i >= max_actors+1) return;        actors_list[i]->actor_id=*((short *)(in_data));    actors_list[i]->fighting = 0;	actors_list[i]->x_tile_pos=*((short *)(in_data+2));	actors_list[i]->y_tile_pos=*((short *)(in_data+4));	actors_list[i]->actor_type=*((short *)(in_data+10));	my_strncp(actors_list[i]->actor_name,&in_data[23],30); //<--Actor	if((actors_list[i]->actor_type == 1) || (actors_list[i]->actor_type == 4)) {	    my_strncp(actors_list[i]->actor_name,&in_data[28],30); //<--Enhanced    }    if(kill == 1) {        new_node = calloc(sizeof(struct kill_queue), 1);        new_node->time = SDL_GetTicks() + 5000;      // Though this will only chase newbies ...        new_node->k = actors_list[i];        actors_list[i]->k = new_node;        if(first_node == NULL) {            if(debug >= DEBUG_LOW)log_info("Adding to Front\n");                      first_node = new_node;            last_node = new_node;            first_node->next = NULL;            first_node->prev = NULL;        } else {            if(debug >= DEBUG_LOW)log_info("Adding to Back\n");                 last_node->next = new_node;            new_node->prev = last_node;            new_node->next = NULL;            last_node = new_node;        }    }        max_actors++;    if(debug >= DEBUG_LOW)log_info("Finished adding actor.\n");}