mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 02:18:26 +00:00
rename fLadderNormal to vecLadderNormal
This commit is contained in:
parent
b381194139
commit
fb7d36cc18
@ -214,7 +214,7 @@ enum struct cp_cache_t
|
||||
int iSteamID;
|
||||
ArrayList aEvents;
|
||||
ArrayList aOutputWaits;
|
||||
float fLadderNormal[3];
|
||||
float vecLadderNormal[3];
|
||||
}
|
||||
|
||||
enum struct frame_t
|
||||
|
||||
@ -2439,7 +2439,7 @@ void SaveCheckpointCache(int target, cp_cache_t cpcache, bool isPersistentData)
|
||||
GetClientAbsOrigin(target, cpcache.fPosition);
|
||||
GetClientEyeAngles(target, cpcache.fAngles);
|
||||
GetEntPropVector(target, Prop_Data, "m_vecAbsVelocity", cpcache.fVelocity);
|
||||
GetEntPropVector(target, Prop_Data, "m_vecLadderNormal", cpcache.fLadderNormal);
|
||||
GetEntPropVector(target, Prop_Data, "m_vecLadderNormal", cpcache.vecLadderNormal);
|
||||
|
||||
cpcache.iMoveType = GetEntityMoveType(target);
|
||||
cpcache.fGravity = GetEntityGravity(target);
|
||||
@ -2613,7 +2613,7 @@ void LoadCheckpointCache(int client, cp_cache_t cpcache, bool isPersistentData)
|
||||
|
||||
if(gEV_Type != Engine_TF2)
|
||||
{
|
||||
SetEntPropVector(client, Prop_Data, "m_vecLadderNormal", cpcache.fLadderNormal);
|
||||
SetEntPropVector(client, Prop_Data, "m_vecLadderNormal", cpcache.vecLadderNormal);
|
||||
SetEntPropFloat(client, Prop_Send, "m_flStamina", cpcache.fStamina);
|
||||
SetEntProp(client, Prop_Send, "m_bDucked", cpcache.bDucked);
|
||||
SetEntProp(client, Prop_Send, "m_bDucking", cpcache.bDucking);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user