Hello, I am use rathena svn r15996 and I have a few problems with this cart patch.
I had to comment out the code below to get the patch to work but when doing so, I can not take off cart and can not change cart look. Any help would be greatful! Thanks in advance.
if( tsd->sc.count && tsd->sc.data[sC_ON_PUSH_CART] )
clif_statuschange_single(&sd->bl,&tsd->bl,SI_ON_PUSH_CART,1,9999,9,0,0);
also this
case SC_ON_PUSH_CART:
if ( sc->data[sC_ON_PUSH_CART] )
{
status_change_end(bl, SC_ON_PUSH_CART, -1);
return 0;
}
//if (pc_isriding(sd,OPTION_RIDING|OPTION_RIDING_DRAGON|OPTION_MADOGEAR|OPTION_RIDING_WUG|))
// return 0;
These are the errors I would get if I did not comment them out:
status.c:7816:92: error: macro "pc_isriding" passed 2 arguments, but takes just 1
status.c: In function ?status_change_start?:
status.c:7816: error: ?pc_isriding? undeclared (first use in this function)
status.c:7816: error: (Each undeclared identifier is reported only once
status.c:7816: error: for each function it appears in.)