refactor(SuperSprint): Reverted to old supersprint
This commit is contained in:
parent
c52806d4bb
commit
46cf3a87c2
@ -13,15 +13,6 @@ namespace big
|
||||
|
||||
bool bSuperSprint = g_settings.options["super_sprint"].get<bool>();
|
||||
|
||||
if (bSuperSprint)
|
||||
{
|
||||
Vector3 vel = ENTITY::GET_ENTITY_VELOCITY(player);
|
||||
|
||||
LOG(INFO) << vel.x << " " << vel.y << ", " << vel.z;
|
||||
|
||||
ENTITY::SET_ENTITY_VELOCITY(player, vel.x * 2, vel.y * 2, vel.z);
|
||||
}
|
||||
/*
|
||||
if (bSuperSprint)
|
||||
{
|
||||
float height = ENTITY::GET_ENTITY_HEIGHT_ABOVE_GROUND(player);
|
||||
@ -57,7 +48,7 @@ namespace big
|
||||
else if (!bSuperSprint && bSuperSprint != bLastSuperSprint)
|
||||
{
|
||||
PLAYER::SET_RUN_SPRINT_MULTIPLIER_FOR_PLAYER(g_playerId, 1.0);
|
||||
}*/
|
||||
}
|
||||
|
||||
bLastSuperSprint = bSuperSprint;
|
||||
}
|
||||
|
Reference in New Issue
Block a user