kopia lustrzana https://github.com/backface/turtlestitch
fixed #465
rodzic
9f690fbfa3
commit
ccdce5da74
|
|
@ -2154,3 +2154,4 @@ ______
|
|||
------
|
||||
* Objects: stop replacing the empty string with the number zero in watchers
|
||||
* Threads: initialize new variables with zero (instead of null)
|
||||
* Objects: fixed #465
|
||||
|
|
|
|||
|
|
@ -3204,11 +3204,12 @@ SpriteMorph.prototype.forward = function (steps) {
|
|||
SpriteMorph.prototype.setHeading = function (degrees) {
|
||||
var x = this.xPosition(),
|
||||
y = this.yPosition(),
|
||||
turn = degrees - this.heading;
|
||||
dir = (+degrees || 90),
|
||||
turn = dir - this.heading;
|
||||
|
||||
// apply to myself
|
||||
this.changed();
|
||||
SpriteMorph.uber.setHeading.call(this, degrees);
|
||||
SpriteMorph.uber.setHeading.call(this, dir);
|
||||
this.silentGotoXY(x, y, true); // just me
|
||||
this.positionTalkBubble();
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue