| changeset 3918 | 312fa627bf21 |
| parent 3819 | d17aed3d46bf |
| child 3942 | 7aaa00382627 |
1.1 --- a/extensions/sdktools/tenatives.cpp Tue May 14 10:24:47 2013 -0400 1.2 +++ b/extensions/sdktools/tenatives.cpp Tue May 14 11:27:06 2013 -0400 1.3 @@ -138,7 +138,13 @@ 1.4 1.5 for (size_t i=0; i<size; i++) 1.6 { 1.7 - pl_array[i] = pFilter->GetRecipientIndex(i); 1.8 + int index; 1.9 +#if SOURCE_ENGINE == SE_DOTA 1.10 + pFilter->GetRecipientIndex(&index, i); 1.11 +#else 1.12 + index = pFilter->GetRecipientIndex(i); 1.13 +#endif 1.14 + pl_array[i] = index; 1.15 } 1.16 1.17 return size;