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:
Rafael Barreto
2010-08-10 04:54:16 +00:00
parent 5c693f194f
commit 001baa1731
6 changed files with 53 additions and 23 deletions
+2 -2
View File
@@ -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;