This commit is contained in:
aozhiwei 2022-08-02 11:39:27 +08:00
parent 5ca6f35be6
commit 139d0eeda7
2 changed files with 8 additions and 1 deletions

View File

@ -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);
}

View File

@ -53,6 +53,7 @@ private:
void ActiveGully();
void ActiveAirDrop();
void ActiveKeepRangeBuff();
void ActiveStrengthenWall();
void ActiveMedicalStation();
void SummonAirDropBox(int box_id);