1
This commit is contained in:
parent
5ca6f35be6
commit
139d0eeda7
@ -312,7 +312,7 @@ void RoomObstacle::Active()
|
|||||||
break;
|
break;
|
||||||
case kObstacleStrengthenWall:
|
case kObstacleStrengthenWall:
|
||||||
{
|
{
|
||||||
|
ActiveStrengthenWall();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case kObstacleMedicalStation:
|
case kObstacleMedicalStation:
|
||||||
@ -829,6 +829,11 @@ void RoomObstacle::CalcTempPassObjects()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void RoomObstacle::ActiveStrengthenWall()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void RoomObstacle::ActiveMedicalStation()
|
void RoomObstacle::ActiveMedicalStation()
|
||||||
{
|
{
|
||||||
if (!grid_list_) {
|
if (!grid_list_) {
|
||||||
@ -853,6 +858,7 @@ void RoomObstacle::ActiveMedicalStation()
|
|||||||
[obstacle, &target_list, room] (Creature* hum, bool& stop)
|
[obstacle, &target_list, room] (Creature* hum, bool& stop)
|
||||||
{
|
{
|
||||||
if (obstacle->master.Get()->team_id == hum->team_id &&
|
if (obstacle->master.Get()->team_id == hum->team_id &&
|
||||||
|
!hum->dead &&
|
||||||
obstacle->TestCollision(room, hum)) {
|
obstacle->TestCollision(room, hum)) {
|
||||||
target_list.insert(hum);
|
target_list.insert(hum);
|
||||||
}
|
}
|
||||||
|
@ -53,6 +53,7 @@ private:
|
|||||||
void ActiveGully();
|
void ActiveGully();
|
||||||
void ActiveAirDrop();
|
void ActiveAirDrop();
|
||||||
void ActiveKeepRangeBuff();
|
void ActiveKeepRangeBuff();
|
||||||
|
void ActiveStrengthenWall();
|
||||||
void ActiveMedicalStation();
|
void ActiveMedicalStation();
|
||||||
|
|
||||||
void SummonAirDropBox(int box_id);
|
void SummonAirDropBox(int box_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user