AGS 3.2 RC2 - Possible bug related to missing audio clip

Started by Crimson Wizard, Fri 25/12/2009 18:03:20

Previous topic - Next topic

Crimson Wizard

AGS 3.2 RC2 manual states:

Quote
readonly bool AudioClip.IsAvailable;

Gets whether this audio clip is available on the player's system.
This will normally be true, unless the clip was bundled in the external AUDIO.VOX file and the player does not have the file on their system.

You do not normally need to check this property, since the Play command will silently fail if it cannot find the audio clip to play.

However, if I remove VOX from game's folder, game crashes:

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x00407C4B ; program pointer is +1004, ACI version 3.20.1099, gtags (0,49)



Just in case:
This happen if I write Audio.Play.
This does not happen if I make IsAvailable check first.

So, either it is a bug, or manual is wrong.

Pumaman

Thanks for reporting this, I'll see if I can reproduce the problem.

SMF spam blocked by CleanTalk