Open PkmX opened 8 years ago
This is allowed because some targets do allow delays in ordinary functions, so it cannot be turned into an error. I do want to add a warning for delays in non-void async script functions, though. Once I have that I can add an Eternity target and issue a warning for delays in ordinary functions for ZDoom and Zandronum targets.
Currently,
gdcc-acc
accepts calling latent functions (such asdelay
) in user-defined functions (which is disallowed in ZDoom'sacc
):The compiled ACS code can make Zandronum 2.1.2 and 3.0-alpha to crash when run.