summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-31 14:18:37 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-31 14:18:37 +0000
commite25963f4562516f4b4aada3983af567f81555165 (patch)
treebd0eb899cde02ff1dc9ef529e0a1735691eea48d /src/map/clif.c
parent206d92c78af7e58fcf0d322aa54d04ee6318cf8f (diff)
downloadhercules-e25963f4562516f4b4aada3983af567f81555165.tar.gz
hercules-e25963f4562516f4b4aada3983af567f81555165.tar.bz2
hercules-e25963f4562516f4b4aada3983af567f81555165.tar.xz
hercules-e25963f4562516f4b4aada3983af567f81555165.zip
- Fixed @summon's delete timer being screwed up.
- Cleaned up a bit the summon script command. - Fixed the clone script command's delete-timer being screwed up. - Corrected battle config name max_walk_rate, it should be named max_walk_speed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8559 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index ed66dbabf..8018cbf82 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -6323,7 +6323,7 @@ int clif_sendegg(struct map_session_data *sd)
if(sd->status.pet_id <= 0) {
for(i=0,n=0;i<MAX_INVENTORY;i++){
if(sd->status.inventory[i].nameid<=0 || sd->inventory_data[i] == NULL ||
- sd->inventory_data[i]->type!=7 ||
+ sd->inventory_data[i]->type!=IT_PETEGG ||
sd->status.inventory[i].amount<=0)
continue;
WFIFOW(fd,n*2+4)=i+2;