Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/core/managers/entity_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ inline void (*CEntitySystem_AddEntityIOEvent)(CEntitySystem* pEntitySystem,
variant_t* value,
float delay,
int nOutputID,
void*,
void*);

typedef uint32 SoundEventGuid_t;
Expand Down
3 changes: 2 additions & 1 deletion src/scripting/natives/natives_entities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ void AddEntityIOEvent(ScriptContext& script_context)
int outputID = script_context.GetArgument<int>(6);

variant_t _value = variant_t(value);
CEntitySystem_AddEntityIOEvent(GameEntitySystem(), pTarget, pInputName, pActivator, pCaller, &_value, delay, outputID, nullptr);
CEntitySystem_AddEntityIOEvent(GameEntitySystem(), pTarget, pInputName, pActivator, pCaller, &_value, delay, outputID, nullptr,
nullptr);
}

SoundEventGuid_t EmitSoundFilter(ScriptContext& script_context)
Expand Down
Loading