summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-09 23:14:00 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-09 23:14:00 +0000
commit4cbba75bb9534466c2d3a06a532f819bb38e5e8c (patch)
tree0cfeafce13adafa4e3c28bf18762a4909943773c /src/map/pet.c
parent532ebd7e97e1948f6fe7ad8b823faa1f101896be (diff)
downloadhercules-4cbba75bb9534466c2d3a06a532f819bb38e5e8c.tar.gz
hercules-4cbba75bb9534466c2d3a06a532f819bb38e5e8c.tar.bz2
hercules-4cbba75bb9534466c2d3a06a532f819bb38e5e8c.tar.xz
hercules-4cbba75bb9534466c2d3a06a532f819bb38e5e8c.zip
- Added the missing last_thinktime initialization to pets.
- Reverted the change in skill_Wall_check to let skills go over pits. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5973 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index c2c00e106..88eb26cd4 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -437,6 +437,7 @@ int pet_data_init(struct map_session_data *sd)
status_set_viewdata(&pd->bl,pd->class_);
unit_dataset(&sd->pd->bl);
pd->ud.dir = sd->ud.dir;
+ pd->last_thinktime = gettick();
map_addiddb(&pd->bl);