nade fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@969 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -377,7 +377,7 @@ void movebounceents()
|
||||
|
||||
void clearbounceents()
|
||||
{
|
||||
loopv(bounceents) if(bounceents[i]) { delete bounceents[i]; bounceents.remove(i); }
|
||||
loopv(bounceents) if(bounceents[i]) { delete bounceents[i]; bounceents.remove(i--); }
|
||||
}
|
||||
|
||||
void renderbounceents()
|
||||
@@ -458,7 +458,6 @@ void throw_nade(playerent *d, const vec &vel, bounceent *p)
|
||||
throwvel.mul(2*d->radius);
|
||||
|
||||
p->vel = vel;
|
||||
//p->o = d->o;
|
||||
p->o.add(throwvel);
|
||||
p->o.mul(1.5f);
|
||||
p->o.add(d->o);
|
||||
|
||||
Reference in New Issue
Block a user