From b241c057d4dbb8de73ebaa2a1db23babc490748e Mon Sep 17 00:00:00 2001 From: driAn Date: Thu, 16 Mar 2006 16:02:52 +0000 Subject: [PATCH] fixed win compatibility problems git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@225 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 2d6f37f0..7d66b448 100644 --- a/source/src/physics.cpp +++ b/source/src/physics.cpp @@ -136,7 +136,7 @@ bool collide(dynent *d, bool spawn, float drop, float rise) { d->o.z = lo+d->eyeheight; // stick on step } - else if(space>-1.26f) d->o.z += rise; // rise thru stair + else if(space>-1.26f && !d->isphysent) d->o.z += rise; // rise thru stair else return false; } else