mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 04:07:11 +02:00
CR Fixes
This commit is contained in:
parent
535d4f5dea
commit
a8740614e2
2 changed files with 3 additions and 3 deletions
|
@ -240,11 +240,11 @@ function Teleporter() {
|
|||
// We might hit an invisible entity that is not a seat, so we need to do a second pass.
|
||||
// * In the second pass we pick against visible entities only.
|
||||
//
|
||||
var intersection = Entities.findRayIntersection(pickRay, true, ignoredEntities, [this.targetEntity], false, true);
|
||||
var intersection = Entities.findRayIntersection(pickRay, true, [], [this.targetEntity].concat(ignoredEntities), false, true);
|
||||
|
||||
var teleportLocationType = getTeleportTargetType(intersection);
|
||||
if (teleportLocationType === TARGET.INVISIBLE) {
|
||||
intersection = Entities.findRayIntersection(pickRay, true, ignoredEntities, [this.targetEntity], true, true);
|
||||
intersection = Entities.findRayIntersection(pickRay, true, [], [this.targetEntity].concat(ignoredEntities), true, true);
|
||||
teleportLocationType = getTeleportTargetType(intersection);
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
];
|
||||
var PUNCH_COOLDOWN = 300;
|
||||
|
||||
Script.include(Script.resolvePath('lookAtEntity.js?v2'));
|
||||
Script.include('lookAtEntity.js');
|
||||
|
||||
BoppoClownEntity = function() {
|
||||
var _this,
|
||||
|
|
Loading…
Reference in a new issue