Added toggle control for weapon bob while flying
This commit is contained in:
parent
de65d1b96f
commit
0fdb740ac7
9 changed files with 28 additions and 2 deletions
|
|
@ -796,6 +796,12 @@ DEFINE_ACTION_FUNCTION(_PlayerInfo, GetMoveBob)
|
|||
ACTION_RETURN_FLOAT(self->userinfo.GetMoveBob());
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(_PlayerInfo, GetFViewBob)
|
||||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(player_t);
|
||||
ACTION_RETURN_BOOL(self->userinfo.GetFViewBob());
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(_PlayerInfo, GetStillBob)
|
||||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(player_t);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue