summaryrefslogtreecommitdiff
path: root/src/map/pc.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-08-01 15:30:37 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-08-01 15:30:37 -0700
commit09f72397156edb97631209c4cac765364f420bd3 (patch)
treee597940099825d05f951773a822b27c556bb9390 /src/map/pc.cpp
parent3b98f3439e33b15bba2036c402f9925340fdb2b9 (diff)
downloadtmwa-09f72397156edb97631209c4cac765364f420bd3.tar.gz
tmwa-09f72397156edb97631209c4cac765364f420bd3.tar.bz2
tmwa-09f72397156edb97631209c4cac765364f420bd3.tar.xz
tmwa-09f72397156edb97631209c4cac765364f420bd3.zip
Fix a bug and make travis happy
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r--src/map/pc.cpp2
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);