mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-25 18:36:10 +01:00
128 bits! --Rumble
This commit is contained in:
parent
3282b8fdc9
commit
be3a023fcd
559 changed files with 305718 additions and 304868 deletions
|
|
@ -80,7 +80,7 @@ void smash_tilde(char *str)
|
|||
void string_write(struct descriptor_data *d, char **writeto, size_t len, long mailto, void *data)
|
||||
{
|
||||
if (d->character && !IS_NPC(d->character))
|
||||
SET_BIT(PLR_FLAGS(d->character), PLR_WRITING);
|
||||
SET_BIT_AR(PLR_FLAGS(d->character), PLR_WRITING);
|
||||
|
||||
if (using_improved_editor)
|
||||
d->backstr = (char *)data;
|
||||
|
|
@ -202,7 +202,7 @@ void string_add(struct descriptor_data *d, char *str)
|
|||
d->mail_to = 0;
|
||||
d->max_str = 0;
|
||||
if (d->character && !IS_NPC(d->character))
|
||||
REMOVE_BIT(PLR_FLAGS(d->character), PLR_MAILING | PLR_WRITING);
|
||||
REMOVE_BIT_AR(PLR_FLAGS(d->character), PLR_MAILING | PLR_WRITING);
|
||||
} else if (action != STRINGADD_ACTION && strlen(*d->str) + 3 <= d->max_str) /* 3 = \r\n\0 */
|
||||
strcat(*d->str, "\r\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue