effekseer / EffekseerForCocos2d-x

MIT License
42 stars 18 forks source link

Default handle value set in ::efk::EffectEmmiter is a valid value #10

Open sp-rafael-lecina opened 4 years ago

sp-rafael-lecina commented 4 years ago

::efk::EffectEmmiter::handle is set by default to 0 It is possible that that handle is already used by a different emmiter because is a valid handle value Maybe a possible solution is to initialize it to -1?

durswd commented 4 years ago

Thank you. I will change it

durswd commented 4 years ago

I'm sorry to delay to fix it because of lack of time. It will fix in the next year or the end of this year.

durswd commented 4 years ago

I fixed

sp-rafael-lecina commented 4 years ago

Thanks!