- fixed: A_ZoomFactor and A_SetCrosshair need to be declared 'action'.
This commit is contained in:
parent
e559109419
commit
4cc7d95ba5
2 changed files with 4 additions and 4 deletions
|
|
@ -1925,7 +1925,7 @@ PClassWeapon *Net_ReadWeapon(BYTE **stream)
|
|||
|
||||
DEFINE_ACTION_FUNCTION_PARAMS(AWeapon, A_ZoomFactor)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_ACTION_PROLOGUE(AActor);
|
||||
PARAM_FLOAT_DEF(zoom);
|
||||
PARAM_INT_DEF(flags);
|
||||
|
||||
|
|
@ -1953,7 +1953,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AWeapon, A_ZoomFactor)
|
|||
|
||||
DEFINE_ACTION_FUNCTION_PARAMS(AWeapon, A_SetCrosshair)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_ACTION_PROLOGUE(AActor);
|
||||
PARAM_INT(xhair);
|
||||
|
||||
if (self->player != NULL && self->player->ReadyWeapon != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue