summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Blocks/BlockCocoaPod.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockCocoaPod.h b/src/Blocks/BlockCocoaPod.h
index f9b7fbd36..415ea4cf1 100644
--- a/src/Blocks/BlockCocoaPod.h
+++ b/src/Blocks/BlockCocoaPod.h
@@ -67,11 +67,11 @@ public:
auto typeMeta = meta & 0x03;
auto growState = meta >> 2;
- if (growState >= 3)
+ if (growState >= 2)
{
return 0;
}
- auto newState = std::min(growState + a_NumStages, 3);
+ auto newState = std::min(growState + a_NumStages, 2);
a_Chunk.SetMeta(a_RelPos, static_cast<NIBBLETYPE>(newState << 2 | typeMeta));
return newState - growState;
}