addressed amb1498 - GetSoundDuration() is broken on valve's end

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401934
This commit is contained in:
David Anderson 2008-03-12 05:21:56 +00:00
parent 39885cd9e7
commit 94da06c69f

View File

@ -130,11 +130,13 @@ enum
native PrefetchSound(const String:nane[]);
/**
* Gets a sound's duration (does not work for mp3s).
* This function is not known to work, and may crash. You should
* not use it. It is provided for backwards compatibility only.
*
* @param name Sound file name relative to the "sounds" folder.
* @return Duration in seconds.
*/
#pragma deprecated Does not work, may crash.
native Float:GetSoundDuration(const String:name[]);
/**