mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fixed a glitch when only top and bottom were needed.
This commit is contained in:
parent
a8a82e89ea
commit
21306b9097
@ -66,6 +66,9 @@ namespace HexMasks
|
||||
bottomRightHalfCorner = 0b001100,
|
||||
bottomLeftHalfCorner = 0b110000,
|
||||
topLeftHalfCorner = 0b100001,
|
||||
|
||||
rightTopAndBottom = 0b001010,
|
||||
leftTopAndBottom = 0b010001,
|
||||
|
||||
rightHalf = 0b001110,
|
||||
leftHalf = 0b110001,
|
||||
@ -98,6 +101,9 @@ void initializeHexEdgeMaskToFrameIndex()
|
||||
hexEdgeMaskToFrameIndex[HexMasks::bottomLeftHalfCorner] = 11;
|
||||
hexEdgeMaskToFrameIndex[HexMasks::topLeftHalfCorner] = 12;
|
||||
|
||||
hexEdgeMaskToFrameIndex[HexMasks::rightTopAndBottom] = 13;
|
||||
hexEdgeMaskToFrameIndex[HexMasks::leftTopAndBottom] = 14;
|
||||
|
||||
hexEdgeMaskToFrameIndex[HexMasks::rightHalf] = 13;
|
||||
hexEdgeMaskToFrameIndex[HexMasks::leftHalf] = 14;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user