Example: https://drive.google.com/open?id=1QCoMR ... DBO1dIhu5e
Pretty much what says on the tin. Just start a new game to trigger. The code that doesn't crash is commented out under the crashy bit. CrashReport.zip inside the download.
[4.2.4] Calling String.Split() on a string CVar crashes.
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Re: [4.2.4] Calling String.Split() on a string CVar crashes.
In this PR I managed to achieve identical code generated for the following two functions.
EDIT: Merged in a05a5a8.
Code: Select all
int Implicit()
{
return string_cvar.ToInt();
}
int Explicit()
{
string temp = string_cvar;
return temp.ToInt();
}