From 5a6c73fcc0948c1b570b5df99b191514d06337dd Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 15 Feb 2006 03:51:59 +0000 Subject: - Some cleaning of the slave moving code. - Fixed the icon for Provoke not showing. - Fixed skill_timerskills (type was not being stored, water-ball at least got broken, doing only 1 hit always) - pc_setinventorydata won't try to set data for positions with no item. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5283 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index e4085c48f..fe435d73f 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -490,7 +490,7 @@ int pc_setinventorydata(struct map_session_data *sd) for(i=0;istatus.inventory[i].nameid; - sd->inventory_data[i] = itemdb_search(id); + sd->inventory_data[i] = id?itemdb_search(id):NULL; } return 0; } -- cgit v1.2.3-70-g09d2