From 5baa12ea4a48b09cfc2007ec5c1f05f60a92fd45 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Wed, 29 Dec 2010 21:31:36 +0000 Subject: * Collection of random insignificant changes. - Added progress indication on map-server shutdown when objects are removed from maps, as it takes significant amount of time to complete. - Moved ers_free in db_obj_vclear, so that the node pointer is not used for comparison after it has been freed. - Some documentation of shop packets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14639 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index bb703a208..42f8b07c8 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3210,6 +3210,7 @@ int pc_checkadditem(struct map_session_data *sd,int nameid,int amount) return ADDITEM_NEW; for(i=0;istatus.inventory[i].nameid==nameid){ if(sd->status.inventory[i].amount+amount > MAX_AMOUNT) return ADDITEM_OVERAMOUNT; -- cgit v1.2.3-60-g2f50