summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2015-01-18 14:17:34 -0200
committershennetsind <ind@henn.et>2015-01-18 14:17:34 -0200
commit8a4d2c5f0b1257e32ba7768161a5a790d5f6a570 (patch)
treef360f750505e18cb689799ea8b560411c7f22f59 /src
parent57789fb70b899eda61206a59283e1a849e544397 (diff)
downloadhercules-8a4d2c5f0b1257e32ba7768161a5a790d5f6a570.tar.gz
hercules-8a4d2c5f0b1257e32ba7768161a5a790d5f6a570.tar.bz2
hercules-8a4d2c5f0b1257e32ba7768161a5a790d5f6a570.tar.xz
hercules-8a4d2c5f0b1257e32ba7768161a5a790d5f6a570.zip
Follow up 348044f12d5f683c8945e0eac642f2795050fb4e
Thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 4c6b7d2f9..da3b7b07f 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -13887,7 +13887,7 @@ void clif_parse_PMIgnore(int fd, struct map_session_data* sd) {
}
// move everything one place down to overwrite removed entry
if( i != MAX_IGNORE_LIST - 1 )
- memmove(sd->ignore[i].name, sd->ignore[i+1].name, (MAX_IGNORE_LIST-i-1)*sizeof(sd->ignore[0].name));
+ memmove(&sd->ignore[i], &sd->ignore[i+1], (MAX_IGNORE_LIST-i-1)*sizeof(sd->ignore[0]));
// wipe last entry
memset(sd->ignore[MAX_IGNORE_LIST-1].name, 0, sizeof(sd->ignore[0].name));
}