detach sounds from disconnecting player

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2092 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-23 20:35:53 +00:00
parent e89d5f9600
commit c288c9829b
4 changed files with 23 additions and 1 deletions
+1
View File
@@ -497,6 +497,7 @@ extern void checkplayerloopsounds();
extern void musicsuggest(int id, int millis = 0, bool rndofs = false);
extern void musicfadeout(int id);
extern void clearsounds();
extern void detachsounds(playerent *owner);
// rendermodel
extern void rendermodel(const char *mdl, int anim, int tex, float rad, const vec &o, float yaw, float pitch, float speed = 0, int basetime = 0, playerent *d = NULL, modelattach *a = NULL, float scale = 1.0f);