mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:58:56 +02:00
Update pistol.js
This commit is contained in:
parent
d4a8537e8b
commit
7e4fe4b521
1 changed files with 2 additions and 2 deletions
|
@ -179,7 +179,7 @@ function fire(side, value) {
|
||||||
Entities.editEntity(intersection.entityID, {
|
Entities.editEntity(intersection.entityID, {
|
||||||
velocity: Vec3.multiply(shotDirection, GUN_FORCE)
|
velocity: Vec3.multiply(shotDirection, GUN_FORCE)
|
||||||
});
|
});
|
||||||
//createEntityHitEffect(intersection.intersection);
|
createEntityHitEffect(intersection.intersection);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (intersection.properties.name === "rat") {
|
if (intersection.properties.name === "rat") {
|
||||||
|
@ -476,4 +476,4 @@ function createMuzzleFlash(position) {
|
||||||
}, 100)
|
}, 100)
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue