Prechádzať zdrojové kódy

added missing pick_log

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12952 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lupus 17 rokov pred
rodič
commit
af4359b20f
2 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 1 0
      Changelog-Trunk.txt
  2. 2 1
      src/map/pet.c

+ 1 - 0
Changelog-Trunk.txt

@@ -10,6 +10,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 	- there is no more locking done within storage data
 	- mapservers no longer cache the data (solves muiltimapserver exploit)
 	- loading storage on char select may decrease charserver performance
+	* Added missing picklog case [Konard]
 2008/07/12
 	* Fixed a bad check on NPC_EVILLAND, actually healing players instead of doing damage. [Brainstorm]
 2008/07/10

+ 2 - 1
src/map/pet.c

@@ -1047,7 +1047,8 @@ int pet_lootitem_drop(struct pet_data *pd,struct map_session_data *sd)
 				memcpy(&ditem->item_data, it, sizeof(struct item));
 				ditem->next = dlist->item;
 				dlist->item = ditem;
-			}
+			} else
+    			log_pick_pc(sd, "P", it->nameid, it->amount, it);
 		}
 		else {
 			ditem = ers_alloc(item_drop_ers, struct item_drop);