bounce ents at fixed phys fps
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2044 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -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()) moveplayer(p, 2, false);
|
||||
if((p->bouncetype==BT_NADE || p->bouncetype==BT_GIB) && p->applyphysics()) movebounceent(p, 2, false);
|
||||
if(!p->isalive(lastmillis))
|
||||
{
|
||||
p->destroy();
|
||||
|
||||
Reference in New Issue
Block a user