forked from UNLOZE/sm-plugins
fix bugs?
This commit is contained in:
@@ -102,7 +102,7 @@ public MRESReturn OnAcceptInput(int entity, Handle hReturn, Handle hParams)
|
||||
if(StrEqual(sCommand, "Activate", false))
|
||||
{
|
||||
int attachedObject = GetEntPropEnt(entity, Prop_Data, "m_attachedObject");
|
||||
if(attachedObject)
|
||||
if(attachedObject != INVALID_ENT_REFERENCE)
|
||||
{
|
||||
int vphysObj = GetVPhysicsObject(attachedObject);
|
||||
if(vphysObj)
|
||||
|
||||
Reference in New Issue
Block a user