mirror of
https://github.com/wassname/phaser.git
synced 2026-07-19 11:26:26 +08:00
1.1.6 release. The final of the 1.1 branch.
This commit is contained in:
+2
-3
@@ -932,8 +932,7 @@ Phaser.Physics.Arcade.Body.prototype = {
|
||||
this.speed = 0;
|
||||
}
|
||||
|
||||
// Don't bother if speed 0
|
||||
if (this.speed > 0)
|
||||
if (this.speed > 0 || !this.velocity.isZero())
|
||||
{
|
||||
this.velocity.x = Math.cos(this.angle) * this.speed;
|
||||
this.velocity.y = Math.sin(this.angle) * this.speed;
|
||||
@@ -1991,7 +1990,7 @@ Object.defineProperty(Phaser.Physics.Arcade.Body.prototype, "y", {
|
||||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user