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

@@ -887,11 +887,14 @@ static void do_stat_character(struct char_data *ch, struct char_data *k)
if (aff->modifier)
send_to_char(ch, "%+d to %s", aff->modifier, apply_types[(int) aff->location]);
if (aff->bitvector) {
if (aff->modifier)
send_to_char(ch, ", ");
send_to_char(ch, "sets %s", affected_bits[aff->bitvector]);
if (aff->bitvector[0] || aff->bitvector[1] || aff->bitvector[2] || aff->bitvector[3]) {
if (aff->modifier)
send_to_char(ch, ", ");
for (i=0; i<NUM_AFF_FLAGS; i++) {
if (IS_SET_AR(aff->bitvector, i)) {
send_to_char(ch, "sets %s, ", affected_bits[i]);
}
}
}
send_to_char(ch, "\r\n");
}