fix sliding along corners

solves most stuck-conditions along corners
This commit is contained in:
ac-stef
2014-05-16 18:56:17 +02:00
parent 606af1ca9b
commit 46ef8b58da
+2
View File
@@ -617,6 +617,8 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime)
}
pl->o.x -= vd.x;
pl->o.y -= vd.y;
pl->o.x += f*d.x;
pl->o.y += f*d.y;
}
else
{