Last RString MSVC compiler error. Eliminate gotos to fix more MSVC compiler errors.

This commit is contained in:
Brian Phlipot
2022-08-09 17:09:30 -06:00
committed by teejusb
parent 0cc289fa1c
commit 95e55f5cdd
2 changed files with 21 additions and 29 deletions
+1 -1
View File
@@ -6059,7 +6059,7 @@ void ScreenEdit::HandleBGChangeChoice( BGChangeChoice c, const std::vector<int>
case global_movie_song_group_and_genre:
{
BGChangeChoice row1 = (BGChangeChoice)(file1_song_bganimation + iAnswers[file1_type]);
newChange.m_def.m_sFile1 = g_BackgroundChange.rows[row1].choices.empty() ? "" : g_BackgroundChange.rows[row1].choices[iAnswers[row1]];
newChange.m_def.m_sFile1 = g_BackgroundChange.rows[row1].choices.empty() ? RString("") : g_BackgroundChange.rows[row1].choices[iAnswers[row1]];
}
break;
}