离开时完全涂白

This commit is contained in:
james 2024-08-06 18:06:44 +08:00
parent d5b82bdaa9
commit f32bbfdc97
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ void xy_sink()
void snake_address(int x, int y, int r, const rt_uint16_t da)
{
int f = 0; // 使蛇身成节
if (r > 5)
if (r > 5 && da != WHITE)
{
f = 1;
}