From 8a4d2c5f0b1257e32ba7768161a5a790d5f6a570 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 18 Jan 2015 14:17:34 -0200 Subject: Follow up 348044f12d5f683c8945e0eac642f2795050fb4e Thanks to Haruna Signed-off-by: shennetsind --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); } -- cgit v1.2.3-70-g09d2