From e93c0294373c2d1062850eeaf9faf8b7aa42c65c Mon Sep 17 00:00:00 2001 From: Rafael Barreto Date: Tue, 27 Jul 2010 22:27:41 +0000 Subject: [PATCH] ops... cleaned too much git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5465 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/physics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/physics.cpp b/source/src/physics.cpp index 4976f19f..0c1e5fa7 100644 --- a/source/src/physics.cpp +++ b/source/src/physics.cpp @@ -482,7 +482,7 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime) bool collided = false; vec oldorigin = pl->o; - f(!editfly) loopi(moveres) // discrete steps collision detection & sliding + if(!editfly) loopi(moveres) // discrete steps collision detection & sliding { const float f = 1.0f/moveres;