autoattack.c: In function ‘autoattack_motion’:
autoattack.c:65:7: error: ‘struct unit_interface’ has no member named ‘walktoxy’
unit->walktoxy(&sd->bl, sd->bl.x+(rand()%2==0?-1:1)*(rand()%10), sd->bl.y+(rand()%2==0?-1:1)*(rand()%10),0);
No new update for this? i download it i got error
autoattack.c: In function ‘autoattack_motion’:
autoattack.c:65:7: error: ‘struct unit_interface’ has no member named ‘walktoxy’
unit->walktoxy(&sd->bl, sd->bl.x+(rand()%2==0?-1:1)*(rand()%10), sd->bl.y+(rand()%2==0?-1:1)*(rand()%10),0);
autoattack.c: In function ‘autoattack_motion’:
autoattack.c:65:7: error: ‘struct unit_interface’ has no member named ‘walktoxy’
unit->walktoxy(&sd->bl, sd->bl.x+(rand()%2==0?-1:1)*(rand()%10), sd->bl.y+(rand()%2==0?-1:1)*(rand()%10),0);
We use essential cookies to make this site work, and optional cookies to enhance your experience.