| changeset 3916 | 0df50ec48f69 |
| parent 3872 | 4c93f74cae51 |
| child 3942 | 7aaa00382627 |
1.1 --- a/core/smn_usermsgs.cpp Mon May 13 19:07:28 2013 -0400 1.2 +++ b/core/smn_usermsgs.cpp Tue May 14 10:19:29 2013 -0400 1.3 @@ -268,7 +268,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;