修正慢速下落有拖影不好看

测试代码忘删
This commit is contained in:
MrZ626
2021-11-30 22:24:58 +08:00
parent e860c7b7ec
commit 9b752d540e

View File

@@ -2455,7 +2455,6 @@ local function update_alive(P)
if P.curY>P.ghoY then
local D=P.dropDelay
local dist--Drop distance
print(D)
if D>1 then
D=D-1
if P.downing>ENV.sddas then
@@ -2489,7 +2488,7 @@ local function update_alive(P)
dist=min(dist,P.curY-P.ghoY)
--Drop and create FXs
if ENV.moveFX and ENV.block then
if ENV.moveFX and ENV.block and dist>1 then
for _=1,dist do
P:createMoveFX('down')
P.curY=P.curY-1