Moved fBonusVelocity before fMinVelocity

This commit is contained in:
Unknown 2017-07-19 17:16:30 +02:00
parent 7b9a96909a
commit ae579f10d6

View File

@ -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)