struct MagicProperties getOnHitProp(int oPC_Level)
{
struct MagicProperties OnHitProp;
struct MagicProperties RaceType = getRacialType();The odd thing is that it DOES work in a different library, but the getRacialType() function is in the SAME library as getOnHitProp().
So, an include would be recursive, the same exact command works in a different library that includes this one, and as far as I know, RaceType is a correct declaration.
The variable is being used as such:
case 20 : OnHitProp.iOnHitType = IP_CONST_ONHIT_SLAYRACE; OnHitProp.iOnHitclass = RaceType.iRace; OnHitProp.sOnHitType = RaceType.sRace + " Smiting "; break;
Anyone see what I'm doing wrong?
Modifié par twopounder, 31 octobre 2010 - 07:26 .





Retour en haut






