mirror of https://github.com/axmolengine/axmol.git
fixed #662, SimpleAudioEngine::playEffect() assertion bug on marmalade
This commit is contained in:
parent
a68fb803a0
commit
6347f878c2
|
@ -178,7 +178,7 @@ namespace CocosDenshion
|
||||||
|
|
||||||
if (s3eSoundGetError()!= S3E_SOUND_ERR_NONE)
|
if (s3eSoundGetError()!= S3E_SOUND_ERR_NONE)
|
||||||
{
|
{
|
||||||
IwAssertMsg(GAME, this, ("Play sound %s Failed. Error Code : %s", pszFilePath, s3eSoundGetErrorString()));
|
IwAssertMsg(GAME, false, ("Play sound %s Failed. Error Code : %s", pszFilePath, s3eSoundGetErrorString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
return channel;
|
return channel;
|
||||||
|
|
Loading…
Reference in New Issue