| 2307 | } |
| 2308 | |
| 2309 | static U32 JumpApexCheck(xAnimTransition*, xAnimSingle* anim, void*) |
| 2310 | { |
| 2311 | return globals.player.ent.model == globals.player.model_sandy && anim->State && |
| 2312 | anim->State->Name && |
| 2313 | (strcmp(anim->State->Name, "DJumpStart01") == 0 || |
| 2314 | strcmp(anim->State->Name, "DJumpLift01") == 0) ? |
| 2315 | (globals.player.ent.frame->vel.y <= 5.0f) : |
| 2316 | (globals.player.ent.frame->vel.y <= 0.001f); |
| 2317 | } |
| 2318 | |
| 2319 | static U32 BounceCheck(xAnimTransition*, xAnimSingle*, void*) |
| 2320 | { |