diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/pc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 8cc74b8..b683474 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -4256,7 +4256,7 @@ int pc_setaccountreg(dumb_ptr<map_session_data> sd, VarName reg, int val) } if (sd->status.account_reg_num < ACCOUNT_REG_NUM) { - sd->status.account_reg[i].str == reg; + sd->status.account_reg[i].str = reg; sd->status.account_reg[i].value = val; sd->status.account_reg_num++; intif_saveaccountreg(sd); |