From b795233e374987f4c427f59922f271810f937eef Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 7 Jan 2007 16:49:03 +0000 Subject: Undid the memset->malloc_set replacement git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9626 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 21175cc30..8684c0732 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1473,7 +1473,7 @@ void unit_dataset(struct block_list *bl) { struct unit_data *ud; nullpo_retv(ud = unit_bl2ud(bl)); - malloc_set( ud, 0, sizeof( struct unit_data) ); + memset( ud, 0, sizeof( struct unit_data) ); ud->bl = bl; ud->walktimer = -1; ud->skilltimer = -1; -- cgit v1.2.3-60-g2f50