Temp fix for 'crate super jump'
Changelog: - Override jump height instead to adding to it - This is pretty fun exploit thoughscene_man
parent
0a5eb36c34
commit
ddcb71ed50
|
@ -334,11 +334,11 @@ void player_movement_input_system(Scene_t* scene)
|
||||||
p_cjump->jumps--;
|
p_cjump->jumps--;
|
||||||
if (!in_water)
|
if (!in_water)
|
||||||
{
|
{
|
||||||
p_ctransform->velocity.y -= p_cjump->jump_speed;
|
p_ctransform->velocity.y = -p_cjump->jump_speed;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
p_ctransform->velocity.y -= p_cjump->jump_speed / 1.75;
|
p_ctransform->velocity.y = -p_cjump->jump_speed / 1.75;
|
||||||
}
|
}
|
||||||
|
|
||||||
p_cjump->jumped = true;
|
p_cjump->jumped = true;
|
||||||
|
|
Loading…
Reference in New Issue