menu hotkeys, spect fix, recoiltest, voicecom

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1638 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-02-11 14:18:54 +00:00
parent 033a150775
commit 3fc9b1155f
18 changed files with 216 additions and 31 deletions
+14 -1
View File
@@ -165,7 +165,20 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
case SV_SOUND:
playsound(getint(p), !d ? NULL : d);
break;
case SV_VOICECOMTEAM:
{
playerent *d = getclient(getint(p));
if(d) d->lastvoicecom = lastmillis;
playsound(getint(p));
break;
}
case SV_VOICECOM:
{
playsound(getint(p));
if(d) d->lastvoicecom = lastmillis;
break;
}
case SV_TEAMTEXT:
{