diff --git a/server/gameserver/car.cc b/server/gameserver/car.cc index 924f2b8..a543565 100644 --- a/server/gameserver/car.cc +++ b/server/gameserver/car.cc @@ -285,6 +285,7 @@ void Car::BeKill(int killer_id, const std::string& killer_name, int weapon_id) passenger->RemoveBuffByEffectId(kBET_Passenger); room->frame_event.AddCarChg(passenger); } + Explosion(); } void Car::GetAabbBox(AabbCollider& aabb_box) @@ -296,3 +297,13 @@ void Car::GetAabbBox(AabbCollider& aabb_box) aabb_box._max.x = hero_meta_->i->radius(); aabb_box._max.y = hero_meta_->i->radius(); } + +void Car::Explosion() +{ + TouchProperTargets + ( + [] (Creature* c, bool& stop) + { + + }); +} diff --git a/server/gameserver/car.h b/server/gameserver/car.h index 510c427..5c2f5ef 100644 --- a/server/gameserver/car.h +++ b/server/gameserver/car.h @@ -38,6 +38,7 @@ class Car : public Creature private: int AllocSeat(); void BeKill(int killer_id, const std::string& killer_name, int weapon_id); + void Explosion(); private: long long born_frameno_ = 0;