bug fix: disconnect when ignoring or mute, disrupt password connection force attempts; adds: whereami and go_to (useful for edit), logs about items (allowing the clips to be 3 cubes distant), and clean up
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5593 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -367,18 +367,18 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
{
|
||||
playerent *d = getclient(getint(p));
|
||||
if(d) d->lastvoicecom = lastmillis;
|
||||
int t = getint(p);
|
||||
if(!d || !(d->muted || d->ignored))
|
||||
{
|
||||
int t = getint(p);
|
||||
if ( voicecomsounds == 1 || (voicecomsounds == 2 && m_teammode) ) audiomgr.playsound(t, SP_HIGH);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SV_VOICECOM:
|
||||
{
|
||||
int t = getint(p);
|
||||
if(!d || !(d->muted || d->ignored))
|
||||
{
|
||||
int t = getint(p);
|
||||
if ( voicecomsounds == 1 ) audiomgr.playsound(t, SP_HIGH);
|
||||
}
|
||||
if(d) d->lastvoicecom = lastmillis;
|
||||
|
||||
Reference in New Issue
Block a user