Remove conf.h from SVN and some bug fixes
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user