grenade gravity tweaks

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2094 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-05-24 08:00:11 +00:00
parent 97fdd618bc
commit f3f3177a7e
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -244,7 +244,7 @@ void movebounceents()
loopv(bounceents) if(bounceents[i])
{
bounceent *p = bounceents[i];
if((p->bouncetype==BT_NADE || p->bouncetype==BT_GIB) && p->applyphysics()) movebounceent(p, 2, false);
if((p->bouncetype==BT_NADE || p->bouncetype==BT_GIB) && p->applyphysics()) movebounceent(p, 1, false);
if(!p->isalive(lastmillis))
{
p->destroy();
@@ -546,7 +546,7 @@ grenadeent::grenadeent (playerent *owner, int millis)
bounceent::millis = lastmillis;
timetolive = 2000-millis;
bouncetype = BT_NADE;
maxspeed = 27.0f;
maxspeed = 30.0f;
rotspeed = 6.0f;
}