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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user