方块对象里不再存旋转中心了,直接存旋转系统
修复玩家初始化时cc的初始几块中心位置不正确导致崩溃(好像是超级远古bug,终于修了)
This commit is contained in:
@@ -94,8 +94,9 @@ if type(_CC)=='table'then
|
||||
TABLE.cut(P.holdQueue)
|
||||
P.holdTime=P.gameEnv.holdCount
|
||||
|
||||
P.cur=rem(P.nextQueue,1)
|
||||
P.curX,P.curY=blockPos[P.cur.id],int(P.gameEnv.fieldH+1-modf(P.cur.sc[1]))+ceil(P.fieldBeneath/30)
|
||||
local C=rem(P.nextQueue,1)
|
||||
P.cur=C
|
||||
P.curX,P.curY=blockPos[C.id],int(P.gameEnv.fieldH+1-modf(C.centerPos[C.id][C.dir][1]))+ceil(P.fieldBeneath/30)
|
||||
|
||||
P.newNext()
|
||||
local id=CCblockID[P.nextQueue[P.AIdata.next].id]
|
||||
|
||||
Reference in New Issue
Block a user