minimap spectate fixes, place grenade bounce sound statically

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2109 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-25 15:03:00 +00:00
parent 8261748480
commit 29e7b02dfe
3 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -635,7 +635,7 @@ void grenadeent::oncollision()
{
if(nadestate==NS_THROWED && (!lastcollision || lastmillis-lastcollision>50))
{
playsound(S_GRENADEBOUNCE1+rnd(2), this, 0, 0);
playsound(S_GRENADEBOUNCE1+rnd(2), 0, 0, &o);
lastcollision = lastmillis;
}
}