Fixed SDKTools dota build.
This commit is contained in:
parent
a12b83de59
commit
702885ebb2
@ -138,7 +138,13 @@ size_t TempEntHooks::_FillInPlayers(int *pl_array, IRecipientFilter *pFilter)
|
|||||||
|
|
||||||
for (size_t i=0; i<size; i++)
|
for (size_t i=0; i<size; i++)
|
||||||
{
|
{
|
||||||
pl_array[i] = pFilter->GetRecipientIndex(i);
|
int index;
|
||||||
|
#if SOURCE_ENGINE == SE_DOTA
|
||||||
|
pFilter->GetRecipientIndex(&index, i);
|
||||||
|
#else
|
||||||
|
index = pFilter->GetRecipientIndex(i);
|
||||||
|
#endif
|
||||||
|
pl_array[i] = index;
|
||||||
}
|
}
|
||||||
|
|
||||||
return size;
|
return size;
|
||||||
|
@ -68,7 +68,13 @@ size_t SoundHooks::_FillInPlayers(int *pl_array, IRecipientFilter *pFilter)
|
|||||||
|
|
||||||
for (size_t i=0; i<size; i++)
|
for (size_t i=0; i<size; i++)
|
||||||
{
|
{
|
||||||
pl_array[i] = pFilter->GetRecipientIndex(i);
|
int index;
|
||||||
|
#if SOURCE_ENGINE == SE_DOTA
|
||||||
|
pFilter->GetRecipientIndex(&index, i);
|
||||||
|
#else
|
||||||
|
index = pFilter->GetRecipientIndex(i);
|
||||||
|
#endif
|
||||||
|
pl_array[i] = index;
|
||||||
}
|
}
|
||||||
|
|
||||||
return size;
|
return size;
|
||||||
|
Loading…
Reference in New Issue
Block a user