give reload sound higher priority

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4827 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2010-05-08 22:44:47 +00:00
parent ab6d7fef08
commit 78ad6b8420
6 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -596,7 +596,7 @@ bool weapon::reload()
bool local = (player1 == owner);
if(owner->type==ENT_BOT) audiomgr.playsound(info.reload, owner);
else audiomgr.playsoundc(info.reload);
else audiomgr.playsoundc(info.reload, NULL, local ? SP_HIGH : SP_NORMAL);
if(local) addmsg(SV_RELOAD, "ri2", lastmillis, owner->weaponsel->type);
return true;
}