DaVikingCode / Citrus-Engine

Modern AS3 Game Engine
http://citrusengine.com/
Other
549 stars 231 forks source link

[BUG] CitrusSoundInstance does not work when the option is enabled compilation "-inline" #280

Closed DmitryF closed 7 years ago

DmitryF commented 8 years ago

Included when compiling option "-inline":

CitrusSoundInstance->.... (line 95) protected static var _maxChannels:uint = SoundChannelUtil.maxAvailableChannels(); .......... Output: [Fault] exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference.