Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
revert physics changes. They ain't right.
- Loading branch information
Showing
with
0 additions
and
6 deletions.
-
+0
−6
src/peds/Ped.cpp
There are no files selected for viewing
|
|
@@ -1540,12 +1540,6 @@ CPed::UpdatePosition(void) |
|
velocityChange = velocityChange * (changeMult / speedChange);
|
|
velocityChange = velocityChange * (changeMult / speedChange);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
#ifdef FIX_BUGS
|
|
|
|
//helps with ped<->vehicle collisions and sprinting on steep grades at high framerates
|
|
|
|
velocityChange *= CTimer::GetTimeStepFix();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
m_vecMoveSpeed.x += velocityChange.x;
|
|
m_vecMoveSpeed.x += velocityChange.x;
|
|
m_vecMoveSpeed.y += velocityChange.y;
|
|
m_vecMoveSpeed.y += velocityChange.y;
|
|
}
|
|
}
|
|
|
|