diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 11:44:12 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 11:44:12 +0000 |
commit | c883ca205971275e576d34b54304c3c5c30f3580 (patch) | |
tree | 4d0a218a184099c61a311d65b50e93973c4c773a /src/map/pet.c | |
parent | 230ba4e3dd84a19f7dee67fdc97532e5869bef63 (diff) | |
download | hercules-c883ca205971275e576d34b54304c3c5c30f3580.tar.gz hercules-c883ca205971275e576d34b54304c3c5c30f3580.tar.bz2 hercules-c883ca205971275e576d34b54304c3c5c30f3580.tar.xz hercules-c883ca205971275e576d34b54304c3c5c30f3580.zip |
* updated map server to jA1137~1159
* Some tidying up in mob.c and skill.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1342 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pet.c')
-rw-r--r-- | src/map/pet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c index 87257f6be..351782e7f 100644 --- a/src/map/pet.c +++ b/src/map/pet.c @@ -816,7 +816,7 @@ int pet_recv_petdata(int account_id,struct s_pet *p,int flag) pet_birth_process(sd); else { pet_data_init(sd); - if(sd->bl.prev != NULL) { + if(sd->pd && sd->bl.prev != NULL) { map_addblock(&sd->pd->bl); clif_spawnpet(sd->pd); clif_send_petdata(sd,0,0); |