有消行延迟+出块等待时连续硬降出现神秘现象
This commit is contained in:
@@ -410,9 +410,9 @@ local function Pupdate_alive(P,dt)
|
|||||||
|
|
||||||
--Try spawn new block
|
--Try spawn new block
|
||||||
if not P.control then goto stop end
|
if not P.control then goto stop end
|
||||||
if P.waiting==0 then P:popNext()end
|
|
||||||
if P.waiting>=0 then
|
if P.waiting>=0 then
|
||||||
P.waiting=P.waiting-1
|
P.waiting=P.waiting-1
|
||||||
|
if P.waiting<0 then P:popNext()end
|
||||||
goto stop
|
goto stop
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -2328,7 +2328,7 @@ function player.act.hardDrop(P)
|
|||||||
P:changeAtkMode(3)
|
P:changeAtkMode(3)
|
||||||
end
|
end
|
||||||
P.keyPressing[6]=false
|
P.keyPressing[6]=false
|
||||||
elseif P.control and P.waiting<=0 and P.cur then
|
elseif P.control and P.waiting==-1 and P.cur then
|
||||||
if P.curY~=P.imgY then
|
if P.curY~=P.imgY then
|
||||||
if P.gameEnv.dropFX then
|
if P.gameEnv.dropFX then
|
||||||
P:createDropFX(P.curX,P.curY+1,P.curX+P.c-1,P.imgY+P.r-1)
|
P:createDropFX(P.curX,P.curY+1,P.curX+P.c-1,P.imgY+P.r-1)
|
||||||
|
|||||||
Reference in New Issue
Block a user