by phantombeta » Thu Sep 13, 2018 7:44 pm
Exactly what it says on the thread title.
Steps to reproduce:
- Start a new game with the attached PK3 loaded
- Summon "TestActor"
Based on a few observations, I'm guessing either the compiler backend or the compiler frontend is compiling it completely wrong. It doesn't even start if you replace the "for (;;)" loop with a "while (true)" loop, as it errors out with the "Return type mismatch" error, which doesn't happen at all with the "for (;;)" loop.
- Attachments
-
- ZScriptForLoopCrash.pk3
- (265 Bytes) Downloaded 23 times
Exactly what it says on the thread title.
Steps to reproduce:
[list]
[*]Start a new game with the attached PK3 loaded
[*]Summon "TestActor"[/list]
Based on a few observations, I'm guessing either the compiler backend or the compiler frontend is compiling it completely wrong. It doesn't even start if you replace the "for (;;)" loop with a "while (true)" loop, as it errors out with the "Return type mismatch" error, which doesn't happen at all with the "for (;;)" loop.