1
This commit is contained in:
parent
38397e98d1
commit
68d486a1f7
@ -1098,7 +1098,7 @@ void Creature::DoSkill(int skill_id,
|
||||
}
|
||||
}
|
||||
Entity* entity = room->GetEntityByUniId(skill_target_id_);
|
||||
if (entity && entity->IsEntityType(ET_Player)) {
|
||||
if (entity && entity->IsCreature(room)) {
|
||||
Creature* c = (Creature*)entity;
|
||||
std::set<Creature*> target_list;
|
||||
skill_target_pos_ = c->GetPos();
|
||||
|
Loading…
x
Reference in New Issue
Block a user