有消行延迟+出块等待时连续硬降出现神秘现象

This commit is contained in:
MrZ_26
2020-08-18 21:54:29 +08:00
parent 7f28278378
commit e5be25b481

View File

@@ -410,9 +410,9 @@ local function Pupdate_alive(P,dt)
--Try spawn new block
if not P.control then goto stop end
if P.waiting==0 then P:popNext()end
if P.waiting>=0 then
P.waiting=P.waiting-1
if P.waiting<0 then P:popNext()end
goto stop
end
@@ -2328,7 +2328,7 @@ function player.act.hardDrop(P)
P:changeAtkMode(3)
end
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.gameEnv.dropFX then
P:createDropFX(P.curX,P.curY+1,P.curX+P.c-1,P.imgY+P.r-1)