Assertion bug in SimpleAudioEngine.cpp


#1

Hey,

In CocosDenshion\airplay\SimpleAudioEngine.cpp in the line number 181 there is assertion like:
IwAssertMsg(GAME, this, … which won’t get called despite the error reported (btw correct me if i’m wrong, it is impossible for “this” to be null).
IwAssertMsg(GAME, false, … would fix the problem.

I enclosed fixed SimpleAudioEngine.zip

I’m using:
cocos2d-1.0.0-x-0.9.0
Marmalade 5.1

Thnx
P


SimpleAudioEngine.zip (1.8 KB)


#2

Bug #662 created. I’m not sure if this fix is correct. Marmalade port maintainer will merge it.
Thanks again!


#3

It should have been solved in version 0.11.0