bounce sound for grenades
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2072 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -134,6 +134,8 @@ struct physent
|
||||
else if(crouching) return croucheyeheight; // fully crouching
|
||||
return eyeheight; // not crouching
|
||||
}
|
||||
|
||||
virtual void oncollision() {};
|
||||
};
|
||||
|
||||
struct dynent : physent // animated ent
|
||||
@@ -499,5 +501,6 @@ struct grenadeent : bounceent
|
||||
virtual void destroy();
|
||||
virtual bool applyphysics();
|
||||
void moveoutsidebbox(const vec &direction, playerent *boundingbox);
|
||||
void oncollision();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user