priority & distance based sound scheduler
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1787 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -169,12 +169,12 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
{
|
||||
playerent *d = getclient(getint(p));
|
||||
if(d) d->lastvoicecom = lastmillis;
|
||||
playsound(getint(p));
|
||||
playsound(getint(p), SP_HIGH);
|
||||
break;
|
||||
}
|
||||
case SV_VOICECOM:
|
||||
{
|
||||
playsound(getint(p));
|
||||
playsound(getint(p), SP_HIGH);
|
||||
if(d) d->lastvoicecom = lastmillis;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user