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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user