Fix in do_set

This commit is contained in:
Fizban 2009-01-15 22:18:29 +00:00
parent a27d84f0ee
commit eb99864f0b
2 changed files with 2 additions and 1 deletions

View file

@ -2777,7 +2777,7 @@ static int perform_set(struct char_data *ch, struct char_data *vict, int mode, c
send_to_char(ch, "%s %s for %s.\r\n", set_fields[mode].cmd, ONOFF(on), GET_NAME(vict));
} else if (set_fields[mode].type == NUMBER) {
value = atoi(val_arg);
send_to_char(ch, "%s's %s set to %d.\r\n", GET_NAME(vict), set_fields[mode].cmd, value);
send_to_char(ch, "%s's %s set to %d.\r\n", GET_NAME(vict), set_fields[mode].cmd, mode == 16 && value > 100000000 ? 100000000 : value);
} else
send_to_char(ch, "%s", CONFIG_OK);