Tidying up a little.
This commit is contained in:
parent
7601a60842
commit
f5a40f0ebe
|
@ -66,7 +66,6 @@ function drawTitleScreen() {
|
|||
snd_select.Play();
|
||||
mus_title.Stop();
|
||||
mus_sail.Play();
|
||||
// Run Load Data
|
||||
guiControl.title.show = false;
|
||||
G.gameStarted = true;
|
||||
} else {
|
||||
|
|
|
@ -62,13 +62,11 @@ pr_ship.Do = function () {
|
|||
this.moveStepProgress += this.currentSpeed * this.moveStepAmount;
|
||||
if (this.moveStepProgress >= this.moveStepSize) {
|
||||
this.moveStepProgress -= this.moveStepSize;
|
||||
console.log("take step");
|
||||
this.doTakeStep = true;
|
||||
} else {
|
||||
this.doTakeStep = false;
|
||||
}
|
||||
|
||||
|
||||
this.SeamlessScroll();
|
||||
// console.log(G.player.name + " created at " + G.player.x + ", " + G.player.y);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue