Corrected logic preventing writing mobile records.

This commit is contained in:
wyld-sw 2018-12-27 15:29:53 -05:00
parent 3cb8e52043
commit 7c5e92d4c7

View file

@ -380,7 +380,7 @@ int write_mobile_record(mob_vnum mvnum, struct char_data *mob, FILE *fd)
ddesc, STRING_TERMINATOR
);
if(n > MAX_STRING_LENGTH) {
if(n < MAX_STRING_LENGTH) {
fprintf(fd, "%s", convert_from_tabs(buf));
fprintf(fd, "%d %d %d %d %d %d %d %d %d E\n"