diff options
| author | jmoenig <jens@moenig.org> | 2014-06-05 22:29:16 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2014-06-05 22:29:16 +0200 |
| commit | fdfd74f79e5bfc6388397bdcc258e4672964f675 (patch) | |
| tree | 140380aa2d0a62bf4297faab30eb752331d39301 /objects.js | |
| parent | d7f30820b5d0363b89af5201643188545dd3e815 (diff) | |
| download | snap-byow-fdfd74f79e5bfc6388397bdcc258e4672964f675.tar.gz snap-byow-fdfd74f79e5bfc6388397bdcc258e4672964f675.zip | |
fixes a but in setHeading()
thanks, Brian!
Diffstat (limited to 'objects.js')
| -rw-r--r-- | objects.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3204,7 +3204,7 @@ SpriteMorph.prototype.forward = function (steps) { SpriteMorph.prototype.setHeading = function (degrees) { var x = this.xPosition(), y = this.yPosition(), - dir = (+degrees || 90), + dir = (+degrees || 0), turn = dir - this.heading; // apply to myself |
