mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
Moved fBonusVelocity before fMinVelocity
This commit is contained in:
parent
7b9a96909a
commit
ae579f10d6
@ -710,16 +710,16 @@ public void Player_Jump(Event event, const char[] name, bool dontBroadcast)
|
|||||||
{
|
{
|
||||||
RequestFrame(ApplyNewVelocity, GetClientSerial(client));
|
RequestFrame(ApplyNewVelocity, GetClientSerial(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(view_as<float>(gA_StyleSettings[gBS_Style[client]][fBonusVelocity]) != 0.0)
|
||||||
|
{
|
||||||
|
RequestFrame(AddBonusVelocity, GetClientSerial(client));
|
||||||
|
}
|
||||||
|
|
||||||
if(view_as<float>(gA_StyleSettings[gBS_Style[client]][fMinVelocity]) != 0.0)
|
if(view_as<float>(gA_StyleSettings[gBS_Style[client]][fMinVelocity]) != 0.0)
|
||||||
{
|
{
|
||||||
RequestFrame(MinimumVelocity, GetClientSerial(client));
|
RequestFrame(MinimumVelocity, GetClientSerial(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(view_as<float>(gA_StyleSettings[gBS_Style[client]][fBonusVelocity]) != 0.0)
|
|
||||||
{
|
|
||||||
RequestFrame(AddBonusVelocity, GetClientSerial(client));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ApplyNewVelocity(int data)
|
void ApplyNewVelocity(int data)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user