no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@308 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-07-16 17:10:50 +00:00
parent 5483977491
commit 712e4f5f23
13 changed files with 198 additions and 221 deletions
+3 -2
View File
@@ -214,7 +214,8 @@ void physicsframe() // optimally schedule physics frames inside the gra
void selfdamage(dynent *d, int dm)
{
if(d==player1) selfdamage(dm, -1, d);
else { addmsg(1, 4, SV_DAMAGE, d, dm, d->lifesequence); playsound(S_FALL1+rnd(5), &d->o); };
else { addmsg(1, 4, SV_DAMAGE, d, dm, d->lifesequence); };
//playsound(S_FALL1+rnd(5), &d->o); }; // fixme sound
particle_splash(3, dm, 1000, d->o); //edit out?
demodamage(dm, d->o);
};
@@ -295,7 +296,7 @@ void moveplayer(dynent *pl, int moveres, bool local, int curtime)
{
selfdamage(damage,-1,pl);
demodamage(damage, player1->o);
playsound(S_FALL1+rnd(2), &pl->o);
//playsound(S_FALL1+rnd(2), &pl->o); // fixme sound
};
pl->startheight=pl->o.z;
};