From 73dc953c493d7b3f688ca95c4eb3b9ccbe2c0e42 Mon Sep 17 00:00:00 2001
From: echicken <>
Date: Sat, 16 Feb 2013 01:54:09 +0000
Subject: [PATCH] Fixed a bug preventing aerial sprites from coming to a stop.

---
 exec/load/sprite.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/load/sprite.js b/exec/load/sprite.js
index f70525a68c..1671fa2334 100644
--- a/exec/load/sprite.js
+++ b/exec/load/sprite.js
@@ -625,7 +625,7 @@ Sprite.Aerial = function(fileName, parentFrame, x, y, bearing, position) {
 				} else if(this.ini.movement == "rotating" && this.ini.constantmotion == 0) {
 					this.move("reverse");
 				} else {
-					if(this.ini.speed == this.ini.speedmin)
+					if(this.ini.speed >= this.ini.speedmin)
 						this.ini.speed = 0;
 					if(this.ini.speed <= this.ini.speedmin && this.ini.speed != 0)
 						this.ini.speed = this.ini.speed + this.ini.speedstep;
-- 
GitLab