diff options
Diffstat (limited to 'games-strategy/openra/files/openra-20120630-sound.patch')
-rw-r--r-- | games-strategy/openra/files/openra-20120630-sound.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/games-strategy/openra/files/openra-20120630-sound.patch b/games-strategy/openra/files/openra-20120630-sound.patch new file mode 100644 index 000000000000..9bea3ee7fb98 --- /dev/null +++ b/games-strategy/openra/files/openra-20120630-sound.patch @@ -0,0 +1,18 @@ +Date: Sun Jul 1 00:34:03 UTC 2012 +Subject: https://github.com/OpenRA/OpenRA/issues/2005 + +fixed in https://github.com/OpenRA/OpenRA/commit/c068be453a9bcb7bc1fdd5874dc1296b6f4810d0#diff-0 + +--- OpenRA.FileFormats/FieldLoader.cs ++++ OpenRA.FileFormats/FieldLoader.cs +@@ -325,6 +325,10 @@ + ((int)c.B).Clamp(0, 255)); + } + ++ // Don't save floats in settings.yaml using country-specific decimal separators which can be misunderstood as group seperators. ++ if (t == typeof(float)) ++ return ((float)v).ToString(CultureInfo.InvariantCulture); ++ + if (t == typeof(Rectangle)) + { + var r = (Rectangle)v; |