JBenda / inkcpp

Inkle Ink C++ Runtime with JSON>Binary Compiler
MIT License
70 stars 13 forks source link

interpreter crashes as soon as it reaches this choice #3

Closed singinwhale closed 3 years ago

singinwhale commented 3 years ago

This valid ink file crashes the interpreter when compiled with inklecate 0.9.0. All other test cases in the repo work. It crashes as soon as it reaches the choice.

Hello there
General Kenobi
-> Main

=== Main ===
Nice
Now what?
What are we doing now?
* [Make the game]
    Lets make the game then
    -> Make_Game
* [Give up]
    Giving up already pah
    -> END
* [No idea]
    Idiot
    -> Main
* [Lol fuck this.]
    Lol ik right? 
    -> END

=== Make_Game ===
Frantic Keyboard Noises
-> END

=== END ===
The END
-> DONE

inkcpp was compiled using Visual Studio 2019 Community Version 16.5.4 and cmake 3.16.0

brwarner commented 3 years ago

Thanks! Fixed it with my latest commit.