From 4de8ea350363b131f21dcc6ac18cd62113d89486 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Wed, 11 Mar 2015 01:48:21 +0100
Subject: [PATCH] oops! nasty "run too fast = disappear" bug fixed

---
 src/map.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/map.c b/src/map.c
index a8f9feb600..500c071d17 100644
--- a/src/map.c
+++ b/src/map.c
@@ -331,8 +331,8 @@ static int map_object_set_move_anim(lua_State *L)
 	obj->move_blur = lua_tonumber(L, 7); // defaults to 0
 	obj->move_twitch_dir = lua_tonumber(L, 8); // defaults to 0 (which is equivalent to up or 8)
 	obj->move_twitch = lua_tonumber(L, 9); // defaults to 0
-	obj->animdx = obj->animdx - ((float)obj->cur_x - obj->oldx);
-	obj->animdy = obj->animdy - ((float)obj->cur_y - obj->oldy);
+	// obj->animdx = obj->animdx - ((float)obj->cur_x - obj->oldx);
+	// obj->animdy = obj->animdy - ((float)obj->cur_y - obj->oldy);
 
 	return 0;
 }
-- 
GitLab