diff --git a/server/gameserver/incubator.cc b/server/gameserver/incubator.cc index 7944e20f..c30c6cb5 100644 --- a/server/gameserver/incubator.cc +++ b/server/gameserver/incubator.cc @@ -12,3 +12,7 @@ void Incubator::UnInit() } +void Incubator::AddHoldHuman(Human* hum) +{ + hold_humans_.insert(hum); +} diff --git a/server/gameserver/incubator.h b/server/gameserver/incubator.h index 95359bf3..f262c6fa 100644 --- a/server/gameserver/incubator.h +++ b/server/gameserver/incubator.h @@ -9,7 +9,7 @@ class Incubator void Init(); void UnInit(); - void AddHoldHuman(Human* num); + void AddHoldHuman(Human* hum); private: std::set hold_humans_;