Hi rathenians anyone knows how to fix this? Im using the latest SVN.
Help with costume system diff.
Im having errors.
offline\svn\src\map\atcommand.c(1172): error C2223: left of '->equip' must point to struct/union
offline\svn\src\map\atcommand.c(1173): error C2223: left of '->equip' must point to struct/union
offline\svn\src\map\atcommand.c(1174): error C2223: left of '->equip' must point to struct/union
offline\svn\src\map\atcommand.c(1175): error C2223: left of '->equip' must point to struct/union
offline\svn\src\map\atcommand.c(1176): error C2223: left of '->equip' must point to struct/union
offline\svn\src\map\atcommand.c(1177): error C2223: left of '->equip' must point to struct/union
if( !strcmpi(command+1,"costumeitem") )
{
if( !battle_config.reserved_costume_id )
{
clif_displaymessage(fd, "Costume convertion is disable. Set a value for reserved_cosutme_id on your battle.conf file.");
return -1;
}
if( !(item_data->equip&EQP_HEAD_LOW) &&
!(item_data->equip&EQP_HEAD_MID) &&
!(item_data->equip&EQP_HEAD_TOP) &&
!(item_data->equip&EQP_COSTUME_HEAD_LOW) &&
!(item_data->equip&EQP_COSTUME_HEAD_MID) &&
!(item_data->equip&EQP_COSTUME_HEAD_TOP) )
{
clif_displaymessage(fd, "You cannot costume this item. Costume only work for headgears.");
return -1;
}
costume = 1;
}
Bump solved it my self, this is the fix, actually idk what im doing but magically i fix the source without having problem, wild guess sure do work sometimes.
C2223: left of '->equip' must point to struct/union
Question
Lil Troll
SOLVED!
Hi rathenians anyone knows how to fix this? Im using the latest SVN.Help with costume system diff.Im having errors.Bump solved it my self, this is the fix, actually idk what im doing but magically i fix the source without having problem, wild guess sure do work sometimes.
I get this error from.
The old format of this is:
Manage to fix the Error by changing these:
to these:
Now if someone want to use costume system in the latest svn like am using([r17516]). This is the fix..
Edited by Lil TrollLink to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.