Remove conf.h from SVN and some bug fixes

This commit is contained in:
JamDog 2010-11-04 10:52:01 +00:00
parent 95b4f8267c
commit 2743ff82ec
15 changed files with 178 additions and 481 deletions

View file

@ -1459,3 +1459,15 @@ char *strpaste(char *str1, char *str2, char *joiner)
*rp = '\0';
return ret;
}
/* Create a blank affect struct */
void new_affect(struct affected_type *af)
{
int i;
af->type = 0;
af->duration = 0;
af->modifier = 0;
af->location = APPLY_NONE;
for (i=0; i<AF_ARRAY_MAX; i++) af->bitvector[i]=0;
}