diff options
-rw-r--r-- | src/map/pc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 30636f40b..0a1a474ad 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -8097,6 +8097,7 @@ void pc_setregstr(struct map_session_data* sd, int64 reg, const char* str) { p = ers_alloc(pc->str_reg_ers, struct script_reg_str); p->value = aStrdup(str); + p->flag.type = 1; if( sd->var_db->put(sd->var_db,DB->i642key(reg),DB->ptr2data(p),&prev) ) { p = DB->data2ptr(&prev); |