Skip to content

Commit 5a480ea

Browse files
committed
Corrections for 2.4.2c
1 parent 06ad80f commit 5a480ea

6 files changed

+13
-7
lines changed

changelog.txt

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ mcmap changelog
22
Latest version is available at: http://wrim.pl/mcmap/
33
------------------------------------------------------
44

5+
2.4.2c (jan 10 2014) - snapshot 14w02a compatible (MC 1.7.4)
6+
added:
7+
-slime block
8+
59
2.4.2b (dec 1 2013) - Minecraft 1.7.2 compatible
610
added:
711
-Windows 64bit version

colors.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ void loadColors()
239239
SETCOLOR(174, 159, 189, 239, 255 ); //packed ice
240240
SETCOLOR(175, 0, 255, 0, 254 ); //Large flower
241241
SETCOLOR(206, 54, 24, 30, 255 ); //nether bricks slab
242+
SETCOLOR(165, 61, 255, 61, 96 ); //slime block
242243

243244
// carpets
244245
SETCOLOR(36 , 255, 255, 255, 254 ); //White carpet
@@ -299,7 +300,7 @@ void loadColors()
299300
SETCOLOR(185, 32, 27, 27, 40 ); //Black Stained Glass [pane]
300301

301302
// flowers
302-
SETCOLOR(165, 120, 158, 241, 254 ); //BLUE_ORCHID 165
303+
// SETCOLOR(165, 120, 158, 241, 254 ); //BLUE_ORCHID 165
303304
SETCOLOR(176, 200, 75, 210, 254 ); //ALLIUM 176
304305
SETCOLOR(235, 168, 172, 172, 254 ); //AZURE_BLUET 235
305306
// 38, 173 44 40 254, ); //RED_TULIP 38

colors.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ bool loadBiomeColors(const char* path);
108108
#define BIRCHLEAVES 230
109109
#define JUNGLELEAVES 231
110110

111-
#define BLUE_ORCHID 165
111+
#define BLUE_ORCHID 176
112+
//165
112113
#define ALLIUM 176
113114
#define AZURE_BLUET 235
114115
#define RED_TULIP 38

colors.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
174 159 189 239 255 0 # packed ice
2323
175 0 255 0 254 0 # Large flower
2424
206 54 24 30 255 0 # nether bricks slab
25+
165 61 255 61 96 0 # slime block
2526

2627
# carpets
2728
36 255 255 255 254 0 # White carpet
@@ -82,8 +83,7 @@
8283
185 32 27 27 40 0 # Black Stained Glass [pane]
8384

8485
# flowers
85-
165 120 158 241 254 0 # BLUE_ORCHID 165
86-
176 200 75 210 254 0 # ALLIUM 176
86+
176 200 75 210 254 0 # BLUE_ORCHID / ALLIUM 176
8787
235 168 172 172 254 0 # AZURE_BLUET 235
8888
# 38 173 44 40 254 0 # RED_TULIP 38
8989
217 244 137 54 254 0 # ORANGE_TULIP 217

globals.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _GLOBALS_H_
22
#define _GLOBALS_H_
33

4-
#define VERSION "2.4.2b (compatible with Minecraft 1.7.2)"
4+
#define VERSION "2.4.2c (compatible with Minecraft 1.7.4)"
55

66
#include <stdint.h>
77
#include <cstdlib>

worldloader.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1216,13 +1216,13 @@ static inline void assignBlock(const uint8_t &block, uint8_t* &targetBlock, int
12161216
*targetBlock++ = 200 + col;
12171217
}
12181218
} else if (block == WOODEN_STEP) {
1219-
if (col != 0) {
1219+
if (col != 0 && col < 4) {
12201220
*targetBlock++ = 213 + col;
12211221
} else {
12221222
*targetBlock++ = block;
12231223
}
12241224
} else if (block == WOOD || block == WOODEN_DOUBLE_STEP) {
1225-
if (col != 0) {
1225+
if (col != 0 && col < 4) {
12261226
*targetBlock++ = 225 + (col & 0x3);
12271227
} else {
12281228
*targetBlock++ = block;

0 commit comments

Comments
 (0)