Everything is fine and all but I'm getting this error on compiling. Anybody know how to fix it?
status.c:13697:29: note: expected ‘struct block_list *’ but argument is of type ‘int16’ {aka ‘short int’} status.c:13697:7: error: too few arguments to function ‘path->search’ 13697 | if (path->search(NULL, src->m, src->x, src->y, bl->x, bl->y, 1, CELL_CHKNOREACH) && distance_xy(src->x, src->y, bl->x, bl->y) < 11)
So I added this
Everything is fine and all but I'm getting this error on compiling. Anybody know how to fix it?
status.c:13697:29: note: expected ‘struct block_list *’ but argument is of type ‘int16’ {aka ‘short int’} status.c:13697:7: error: too few arguments to function ‘path->search’ 13697 | if (path->search(NULL, src->m, src->x, src->y, bl->x, bl->y, 1, CELL_CHKNOREACH) && distance_xy(src->x, src->y, bl->x, bl->y) < 11)
Share this post
Link to post
Share on other sites