ORG_RACE(victim) = race;
victim->pcdata->race = race;
if (IS_NPC(victim))
victim->pIndexData->race = race;
else
victim->pcdata->race = race;
comm.c: In function nanny:
comm.c:1918: error: lvalue required as left operand of assignment
ORG_RACE(ch) = race;
if (IS_NPC(victim))
victim->pIndexData->race = race;
else
victim->pcdata->race = race;
if (IS_NPC(ch))
ch->pIndexData->race = race;
else
ch->pcdata->race = race;
ORG_RACE(ch) = race_lookup("human");
ch->pIndexData->race = race_lookup("human");
RACE(ch) = race_lookup(fread_string(fp));
ORG_RACE(ch) = RACE(ch);
fMatch = TRUE;
ch->pIndexData->race = race_lookup(fread_string(fp));
if (IS_NPC(ch))
ch->pIndexData->race = RACE(ch);
else
ch->pcdata->race = RACE(ch);
fMatch = TRUE;
if ( !str_cmp( word, "Race" ) )
{
RACE(pet) = race_lookup(fread_string(fp));
ORG_RACE(pet) = RACE(pet);
fMatch = TRUE;
break;
}
break;
if ( !str_cmp( word, "Race" ) )
{
RACE(pet) = race_lookup(fread_string(fp));
if (IS_NPC(pet))
pet->pIndexData->race = RACE(pet);
else
pet->pcdata->race = RACE(pet);
fMatch = TRUE;
break;
}
break;
ORG_RACE(ch) = race_lookup("human");
ch->pIndexData->race = race_lookup("human");
Makefile.am
Makefile.in
Makefile Original
I had to go back to Anatolia 2.2 to get more makefiles than that in the src directory. 2.2 has
Makefile
Makefile.aix
Makefile.hp
Makefile.linux
Makefile.sunos
Makefile.sysv
If I was attempting to compile 2.2 I would be using Makefile.linux , as I'm using Ubuntu 9.10 … but I've been working with 3.1.1