Changeset - r26643:cf6344a19ba8
[Not reviewed]
master
0 1 0
Loïc Guilloux - 2 years ago 2022-12-16 00:56:25
glx22@users.noreply.github.com
Fix 55a1171: Restore skipping of "colour" character (#10244)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/saveload.cpp
Show inline comments
 
@@ -3318,7 +3318,7 @@ SaveOrLoadResult SaveOrLoad(const std::s
 
		ClearSaveLoadState();
 

	
 
		/* Skip the "colour" character */
 
		if (fop != SLO_CHECK) Debug(sl, 0, "{}", GetSaveLoadErrorString());
 
		if (fop != SLO_CHECK) Debug(sl, 0, "{}", GetSaveLoadErrorString() + 3);
 

	
 
		/* A saver/loader exception!! reinitialize all variables to prevent crash! */
 
		return (fop == SLO_LOAD) ? SL_REINIT : SL_ERROR;
0 comments (0 inline, 0 general)