| 992 | } |
| 993 | |
| 994 | static void HS_SetJump(const cc_string* v) { |
| 995 | cc_string str; char strBuffer[STRING_SIZE]; |
| 996 | struct PhysicsComp* physics; |
| 997 | |
| 998 | physics = &Entities.CurPlayer->Physics; |
| 999 | physics->JumpVel = PhysicsComp_CalcJumpVelocity(Menu_Float(v)); |
| 1000 | physics->UserJumpVel = physics->JumpVel; |
| 1001 | |
| 1002 | String_InitArray(str, strBuffer); |
| 1003 | String_AppendFloat(&str, physics->JumpVel, 8); |
| 1004 | Options_Set(OPT_JUMP_VELOCITY, &str); |
| 1005 | } |
| 1006 | |
| 1007 | static cc_bool HS_GetWOMHacks(void) { return Entities.CurPlayer->Hacks.WOMStyleHacks; } |
| 1008 | static void HS_SetWOMHacks(cc_bool v) { |
nothing calls this directly
no test coverage detected