FIX: bug-ID 3192360 - text is required for voicecom command.

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6111 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2011-02-27 22:17:33 +00:00
parent 2d9edb6dc4
commit d5b9b3efea
+1
View File
@@ -402,6 +402,7 @@ void audiomanager::writesoundconfig(stream *f)
void voicecom(char *sound, char *text)
{
if(!sound || !sound[0]) return;
if(!text || !text[0]) return;
static int last = 0;
if(!last || lastmillis-last > 2000)
{