Skip to content

Commit

Permalink
Fixed handling of default values in EventHandler.SendNetworkEvent()
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Apr 22, 2017
1 parent 370b639 commit ecbfb25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/events.cpp
Expand Up @@ -582,9 +582,9 @@ DEFINE_ACTION_FUNCTION(DEventHandler, SendNetworkEvent)
{
PARAM_PROLOGUE;
PARAM_STRING(name);
PARAM_INT(arg1);
PARAM_INT(arg2);
PARAM_INT(arg3);
PARAM_INT_DEF(arg1);
PARAM_INT_DEF(arg2);
PARAM_INT_DEF(arg3);
//

ACTION_RETURN_BOOL(E_SendNetworkEvent(name, arg1, arg2, arg3, false));
Expand Down

0 comments on commit ecbfb25

Please sign in to comment.