修复回放模式下强制显示ghost时报错

This commit is contained in:
MrZ626
2021-08-22 00:27:15 +08:00
parent 33260fc820
commit 92c3b8314d

View File

@@ -774,7 +774,7 @@ function draw.norm(P,repMode)
gc_draw(P.RS.centerTex,centerX,-30*(P.ghoY+C.sc[1])+10)
end
elseif repMode then
drawGhost.gray(P.cur.bk,P.curX,P.ghoY,.15,nil,nil)
drawGhost.grayCell(P.cur.bk,P.curX,P.ghoY,.15,nil,nil)
end
local dy=ENV.smooth and P.ghoY~=P.curY and(P.dropDelay/ENV.drop-1)*30 or 0