修正当前方块显示条件
This commit is contained in:
@@ -782,7 +782,7 @@ function draw.norm(P,repMode)
|
||||
_drawFXs(P)
|
||||
|
||||
--Draw current block
|
||||
if P.cur then
|
||||
if P.alive and P.cur then
|
||||
local C=P.cur
|
||||
local curColor=C.color
|
||||
|
||||
@@ -996,7 +996,7 @@ function draw.demo(P)
|
||||
gc_translate(0,600)
|
||||
_drawField(P)
|
||||
_drawFXs(P)
|
||||
if P.cur then
|
||||
if P.alive and P.cur then
|
||||
local curColor=P.cur.color
|
||||
if ENV.ghost then
|
||||
drawGhost[ENV.ghostType](P.cur.bk,P.curX,P.ghoY,ENV.ghost,P.skinLib,curColor)
|
||||
|
||||
Reference in New Issue
Block a user