*/
// push him so high...
- vz = sqrt(2 * grav * jumpheight); // NOTE: sqrt(positive)!
+ vz = sqrt(fabs(2 * grav * jumpheight)); // NOTE: sqrt(positive)!
// we start with downwards velocity only if it's a downjump and the jump apex should be outside the jump!
if(ht < 0)