ZZYZX wrote:Ohhhhh right, I missed the error part. I guess it's a bug in GZDoom. Left should work on readonly strings, since IIRC it returns a new string.
https://github.com/coelckers/gzdoom/blo ... e.txt#L640
Same applies to CharAt, CharCodeAt...
This can be fixed by putting const at end of the declarations. Whoever is not lazy to make a PR :)
ZZYZX: I'll make a bug report, thanks.