git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@969 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-04-23 20:27:47 +00:00
parent a0cf8e4ea5
commit 5df637f1f9
+1 -2
View File
@@ -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);