summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/pet.c1
-rw-r--r--src/map/skill.c2
2 files changed, 2 insertions, 1 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);
diff --git a/src/map/skill.c b/src/map/skill.c
index 5d2797fe3..fa0e842b8 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6557,7 +6557,7 @@ struct skill_unit_group *skill_unitsetting( struct block_list *src, int skillid,
if (alive && battle_config.skill_wall_check) {
//Check if there's a path between cell and center of casting.
struct walkpath_data wpd;
- if (path_search_real(&wpd,src->m,ux,uy,x,y,0x1,CELL_CHKNOREACH) == -1)
+ if (path_search_real(&wpd,src->m,ux,uy,x,y,0x1,CELL_CHKWALL) == -1)
alive = 0;
}