changed SOUND_FROM_PLAYER from -1 to -2 to maintain compatibility with SOUND_FROM_LOCAL_PLAYER
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401054
This commit is contained in:
@@ -147,7 +147,7 @@ static cell_t EmitSound(IPluginContext *pContext, const cell_t *params)
|
||||
* intelligently redirect each sound.
|
||||
*/
|
||||
|
||||
if (entity == SOUND_FROM_LOCAL_PLAYER && engine->IsDedicatedServer())
|
||||
if (entity == -2 && engine->IsDedicatedServer())
|
||||
{
|
||||
for (cell_t i=0; i<params[2]; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user