shin10 / Starling-FFParticleSystem

Improved particle system for the Starling framework
42 stars 22 forks source link

Update SystemOptions.as #3

Closed wastedabuser closed 10 years ago

wastedabuser commented 10 years ago

Functions returning int values instead of Boolean are causing compiler warnings! Forcefully casting the result to Boolean fixes the issue.

shin10 commented 10 years ago

Hi,

Somehow my compiler doesn't show this warnings. Very strange. We had a similar issue last week.

I fixed it with the getBooleanValue function. Thanks for giving me a heads up. :)

Michael

wastedabuser commented 10 years ago

I forgot to mention i am compiling in strict mode, using Flash Develop :)

shin10 commented 10 years ago

Just like me. :) I never turn strict mode off. AIR 4.0, ASC 2.0; I wonder why the warnings don't show up. I just double checked but all warnings are enabled. :\

wastedabuser commented 10 years ago

It should be the ASC 2.0, i never added this -inline option to enable it. I will now :)