Pointer to structure required on left side of -> or ->*
I get this error throughout the code. What changes do I make?
Code:void updateBullet(struct bulletList** headRef) { struct bulletList** current = headRef; if(current == NULL) puts("Bullet List is empty"); while(current != NULL) { current->y--; // like here if(current->y < 0) // and here deleteBullet(¤t,current->x,current->y); current = current->next; // and here } }