1.1 --- a/extensions/sdktools/output.cpp Fri Nov 14 03:38:59 2008 -0600
1.2 +++ b/extensions/sdktools/output.cpp Fri Nov 14 09:18:30 2008 -0600
1.3 @@ -251,7 +251,7 @@
1.4
1.5 int serial = pEdict->m_NetworkSerialNumber;
1.6
1.7 - if (serial != hook->entity_filter && hook->entity_index == engine->IndexOfEdict(pEdict))
1.8 + if (serial != hook->entity_filter && hook->entity_index == IndexOfEdict(pEdict))
1.9 {
1.10 // same entity index but different serial number. Entity has changed, kill the hook.
1.11 _iter = pOutputName->hooks.erase(_iter);
1.12 @@ -264,7 +264,7 @@
1.13 {
1.14 //fire the forward to hook->pf
1.15 hook->pf->PushString(pOutputName->Name);
1.16 - hook->pf->PushCell(engine->IndexOfEdict(pEdict));
1.17 + hook->pf->PushCell(IndexOfEdict(pEdict));
1.18
1.19 edict_t *pEdictActivator = gameents->BaseEntityToEdict(pActivator);
1.20 if (!pEdictActivator)
1.21 @@ -273,7 +273,7 @@
1.22 }
1.23 else
1.24 {
1.25 - hook->pf->PushCell(engine->IndexOfEdict(pEdictActivator));
1.26 + hook->pf->PushCell(IndexOfEdict(pEdictActivator));
1.27 }
1.28 //hook->pf->PushCell(handle);
1.29 hook->pf->PushFloat(fDelay);
1.30 @@ -466,7 +466,7 @@
1.31
1.32 edict_t *pStoredEdict;
1.33
1.34 - pStoredEdict = engine->PEntityOfEntIndex(index);
1.35 + pStoredEdict = PEntityOfEntIndex(index);
1.36
1.37 if (pStoredEdict == NULL)
1.38 {