diff --git a/server/gameserver/roomobstacle.cc b/server/gameserver/roomobstacle.cc index 6af3d285..81fb8a7c 100644 --- a/server/gameserver/roomobstacle.cc +++ b/server/gameserver/roomobstacle.cc @@ -312,7 +312,7 @@ void RoomObstacle::Active() break; case kObstacleStrengthenWall: { - + ActiveStrengthenWall(); } break; case kObstacleMedicalStation: @@ -829,6 +829,11 @@ void RoomObstacle::CalcTempPassObjects() } } +void RoomObstacle::ActiveStrengthenWall() +{ + +} + void RoomObstacle::ActiveMedicalStation() { if (!grid_list_) { @@ -853,6 +858,7 @@ void RoomObstacle::ActiveMedicalStation() [obstacle, &target_list, room] (Creature* hum, bool& stop) { if (obstacle->master.Get()->team_id == hum->team_id && + !hum->dead && obstacle->TestCollision(room, hum)) { target_list.insert(hum); } diff --git a/server/gameserver/roomobstacle.h b/server/gameserver/roomobstacle.h index ac37e0e7..70d5adea 100644 --- a/server/gameserver/roomobstacle.h +++ b/server/gameserver/roomobstacle.h @@ -53,6 +53,7 @@ private: void ActiveGully(); void ActiveAirDrop(); void ActiveKeepRangeBuff(); + void ActiveStrengthenWall(); void ActiveMedicalStation(); void SummonAirDropBox(int box_id);