Issue Information
-
#007175
-
0 - None Assigned
-
Done
Issue Confirmations
-
Yes (0)No (0)
From my compiler (debian)
pc.c:4624: warning: passing argument 1 of âclif->colormesâ makes integer from pointer without a cast pc.c:4624: note: expected âintâ but argument is of type âstruct map_session_data *â
hum can you please paste your pc.c line 4624?
- /**
- * Only Rune Knights may use runes
- **/
- if( itemdb_is_rune(nameid) && (sd->class_&MAPID_THIRDMASK) != MAPID_RUNE_KNIGHT )
- return 0;
- /**
- * Only GCross may use poisons
- **/
- else if( itemdb_is_poison(nameid) && (sd->class_&MAPID_THIRDMASK) != MAPID_GUILLOTINE_CROSS )
- return 0;
- if( item->mapdeny[sd->bl.m].deny_flag ){
- char e_msg[100];
- sprintf(e_msg,"Item Failed. [%s] is disabled on this map.",itemdb_jname(sd->status.inventory[n].nameid));
- clif->colormes(sd,COLOR_RED,e_msg); <-- Here
- return 0;
- }
- //Gender check
- if(item->sex != 2 && sd->status.sex != item->sex)
- return 0;
- //Required level check
- if(item->elv && sd->status.base_level < (unsigned int)item->elv)
- return 0;
- #ifdef RENEWAL
- if(item->elvmax && sd->status.base_level > (unsigned int)item->elvmax)
- return 0;
- #endif
you're out of date or out of sync (well both) i think oo in latest that clif_colormes thing is sd->fd not sd