JIghtuse / cavestory-sdl2

Reconstructing Cave Story with SDL 2.0 and C++14
98 stars 12 forks source link

Assertion: NumberSprite cannot show negative numbers #4

Open raziel- opened 6 years ago

raziel- commented 6 years ago

assertion "number >= 0 && "NumberSprite cannot show negative numbers!"" failed: file "src/number_sprite.cpp", line 61

Checkout from today. Original graphics, but with the english translation patch applied.

Happens in the very first scene when you let the bat kill you. Once the health bar goes to "0" the next hit kills the program with aforementioned assertion.

Not sure if you are still interested in this, but here you go. I've done a port to AmigaOS4 and have quite a few problems, this assertion being one of them.

If you want me to further test and report, please shout

JIghtuse commented 6 years ago

Hi! Thanks for the issue, will try to reproduce and fix it in a next few days.

raziel- commented 5 years ago

Thank you, i'll watch this space