SetEntProp now marks edict state as changed at offset (bug 4855, r=fyren).
This commit is contained in:
parent
10129fa568
commit
1a344c1441
@ -1181,6 +1181,11 @@ static cell_t SetEntProp(IPluginContext *pContext, const cell_t *params)
|
|||||||
*(bool *)((uint8_t *)pEntity + offset) = params[4] ? true : false;
|
*(bool *)((uint8_t *)pEntity + offset) = params[4] ? true : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (params[2] == Prop_Send && (pEdict != NULL))
|
||||||
|
{
|
||||||
|
g_HL2.SetEdictStateChanged(pEdict, offset);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user