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:
driAn
2008-05-20 20:43:29 +00:00
parent cfc2d63970
commit 445e691331
5 changed files with 11 additions and 5 deletions
+3
View File
@@ -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();
};