数组初始化
This commit is contained in:
parent
bbc07a95d1
commit
423b03086c
@ -360,6 +360,8 @@ func (this *configureComp) GetBuffGroupDataByLottery(lotteryId int32, addType in
|
||||
}
|
||||
if v, ok := this.buffLottery[lotteryId]; ok {
|
||||
for i := 1; ; i++ {
|
||||
szW = make([]int32, 0) // 数组初始化
|
||||
sz = make([]*cfg.GameBufflotteryData, 0)
|
||||
for k, v1 := range v { // k buffID v1 cfg.GameBufflotteryData
|
||||
curWt = 0
|
||||
if _, ok := ownerbuff[k]; !ok {
|
||||
|
Loading…
Reference in New Issue
Block a user