mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-06 01:18:49 +01:00
Corrected logic preventing writing mobile records.
This commit is contained in:
parent
3cb8e52043
commit
7c5e92d4c7
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue