now the event couch can go through portals
This commit is contained in:
@@ -547,6 +547,7 @@ void prop_any_create(int client)
|
||||
// Hook the prop so we can detect when it gets shot/damaged, and track it so we can unhook later
|
||||
if (g_cvNotifyShot.BoolValue)
|
||||
{
|
||||
SetEntityFlags(prop, FL_CLIENT); //Now youre thinking with portals
|
||||
SDKHook(prop, SDKHook_OnTakeDamage, OnPropTakeDamage);
|
||||
g_aSpawnedProps.Push(prop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user