From 5d4a6cf9032c06fe2e3dfe0709dbcbef4608b307 Mon Sep 17 00:00:00 2001 From: Crystal Squirrel Date: Sat, 14 Aug 2021 21:29:48 +0100 Subject: [PATCH] Fix std::stoi bad behaviour closes #2130 Patched with outfox upstream, this restores BG as it is expected --- src/NotesLoaderSM.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NotesLoaderSM.cpp b/src/NotesLoaderSM.cpp index f9d748af80..9d09e6a74f 100644 --- a/src/NotesLoaderSM.cpp +++ b/src/NotesLoaderSM.cpp @@ -976,7 +976,7 @@ bool SMLoader::LoadFromBGChangesVector( BackgroundChange &change, std::vector