diff --git a/modules/entertainment/xxlPlat.go b/modules/entertainment/xxlPlat.go index 49fe05b03..5f37d3ad2 100644 --- a/modules/entertainment/xxlPlat.go +++ b/modules/entertainment/xxlPlat.go @@ -147,7 +147,6 @@ func (this *MapData) InitMap(module *Entertainment, iType int32) { this.SetIndelibilityPlat() this.Plat = this.GetPalatData() - //this.SetMap() // 方便测试固定地图 } // 交换之前先判断是不是特殊元素的交换 @@ -322,8 +321,11 @@ func (this *MapData) Check4X() (bEliminate bool, xiaochu []int, s map[int]int) { if newElem == 0 { newElem = k + 2 // 给个默认值 } + // 如果当前生成的也是一个特殊的元素 直接消除 + if this.Plat[newElem].Special == 0 { + s[newElem] = FourUType + } - s[newElem] = FourUType xiaochu = append(xiaochu, []int{k, k + 1, k + 2, k + 3}...) for _, v := range xiaochu { this.Plat[v].Cid = 0 @@ -353,7 +355,10 @@ func (this *MapData) Check4X() (bEliminate bool, xiaochu []int, s map[int]int) { newElem = k + 2*Width // 给个默认值 } - s[newElem] = FourLType + // 如果当前生成的也是一个特殊的元素 直接消除 + if this.Plat[newElem].Special == 0 { + s[newElem] = FourLType + } xiaochu = append(xiaochu, k+Width) xiaochu = append(xiaochu, []int{k, k + Width, k + 2*Width, k + 3*Width}...) for _, v := range xiaochu {