1
This commit is contained in:
parent
c941bd2c59
commit
88e239dc34
@ -327,6 +327,9 @@ bool MapService::CollisionDetectionAndGetCollider(Room* room,
|
||||
case ET_Obstacle:
|
||||
{
|
||||
Obstacle* obstacle = (Obstacle*)collider->owner;
|
||||
if (obstacle->meta->i->prebattle_hide() && room->GetGasData().gas_mode == GasInactive) {
|
||||
break;
|
||||
}
|
||||
if (obstacle->meta->i->collision_hit() != kCollisionHitPass) {
|
||||
if (!obstacle->IsDead(room) && collider->IntersectEx(pos, a_collider)) {
|
||||
*pickup_collider = collider;
|
||||
|
@ -72,6 +72,7 @@ message MapThing
|
||||
optional int32 collision_hit = 29;
|
||||
optional int32 explosion_hit = 30;
|
||||
optional string sweep_tags = 31;
|
||||
optional int32 prebattle_hide = 32;
|
||||
}
|
||||
|
||||
message SafeArea
|
||||
|
Loading…
x
Reference in New Issue
Block a user