I do not understand whats happening.
First I tried to compile your code (which is same as mine of course ) and I receive the following error message:
Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
in
inline TController CreateController(flt height, flt radius, flt stepheight, flt maxslope)
{
return leCreateController(height, radius, stepheight, maxslope);
}
Second:
I saw in your exe that the player height is lower than in my original exe... :|
EDIT:
Also the engine.dll file is NOT the same as mine :|
Your dll is a little bigger than mine.