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()) {
|
switch (meta->i->thing_type()) {
|
||||||
case kObstacleSpring:
|
case kObstacleSpring:
|
||||||
{
|
{
|
||||||
return false;
|
|
||||||
if (c->IsHuman()) {
|
if (c->IsHuman()) {
|
||||||
if (!c->AsHuman()->GetCar()) {
|
if (!c->AsHuman()->GetCar()) {
|
||||||
AddObstacleBuff(c);
|
AddObstacleBuff(c);
|
||||||
|
@ -488,6 +488,9 @@ void Player::ProcInteraction()
|
|||||||
break;
|
break;
|
||||||
case ET_Loot:
|
case ET_Loot:
|
||||||
{
|
{
|
||||||
|
if (entity->GetPos().Distance(GetPos()) > 150) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
LootInteraction((Loot*)entity);
|
LootInteraction((Loot*)entity);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user