1
This commit is contained in:
parent
c669be1a88
commit
1f9e7a169f
@ -877,7 +877,6 @@ bool Obstacle::ProcSpecEvent(Creature* c, ColliderComponent* collider)
|
||||
switch (meta->i->thing_type()) {
|
||||
case kObstacleSpring:
|
||||
{
|
||||
return false;
|
||||
if (c->IsHuman()) {
|
||||
if (!c->AsHuman()->GetCar()) {
|
||||
AddObstacleBuff(c);
|
||||
|
@ -488,6 +488,9 @@ void Player::ProcInteraction()
|
||||
break;
|
||||
case ET_Loot:
|
||||
{
|
||||
if (entity->GetPos().Distance(GetPos()) > 150) {
|
||||
break;
|
||||
}
|
||||
LootInteraction((Loot*)entity);
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user