From 037673fd02b93bccc23298f7a282eb3cf64046a9 Mon Sep 17 00:00:00 2001 From: Justin Aquadro Date: Mon, 6 Feb 2012 02:01:41 -0500 Subject: [PATCH] Bugfix in color index calculation in mapconverter --- SubstrateCS/Source/Data/MapConverter.cs | 26 ++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/SubstrateCS/Source/Data/MapConverter.cs b/SubstrateCS/Source/Data/MapConverter.cs index ea7cf35..518e5b9 100644 --- a/SubstrateCS/Source/Data/MapConverter.cs +++ b/SubstrateCS/Source/Data/MapConverter.cs @@ -12,19 +12,19 @@ namespace Substrate.Data public enum ColorGroup { Unexplored = 0, - Grass = 4, - Sand = 8, - Other = 12, - Lava = 16, - Ice = 20, - Iron = 24, - Leaves = 28, - Snow = 32, - Clay = 36, - Dirt = 40, - Stone = 44, - Water = 48, - Wood = 52, + Grass = 1, + Sand = 2, + Other = 3, + Lava = 4, + Ice = 5, + Iron = 6, + Leaves = 7, + Snow = 8, + Clay = 9, + Dirt = 10, + Stone = 11, + Water = 12, + Wood = 13, } ///